Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
16.20. Property Factory and Value Factory
Two other components are made available by the
ExecutionContext. The PropertyFactory is an interface that can be used to create Property instances, which are used throughout the graph API . The ValueFactories interface provides access to a number of different factories for different kinds of property values. These will be discussed in much more detail in the next chapter. But like the other components that are in an ExecutionContext, you can create subcontexts with different implementations:
PropertyFactory myPropertyFactory = ... ExecutionContext contextWithMyPropertyFactory = context.with(myPropertyFactory);
PropertyFactory myPropertyFactory = ...
ExecutionContext contextWithMyPropertyFactory = context.with(myPropertyFactory);
and
ValueFactories myValueFactories = ... ExecutionContext contextWithMyValueFactories = context.with(myValueFactories);
ValueFactories myValueFactories = ...
ExecutionContext contextWithMyValueFactories = context.with(myValueFactories);
Of course, implementing your own factories is a pretty advanced topic, and it will likely be something you do not need to do in your application.