Uses of Interface
org.glassfish.hk2.api.Factory
-
-
Uses of Factory in org.glassfish.hk2.api
Method parameters in org.glassfish.hk2.api with type arguments of type Factory Modifier and Type Method Description <T> FactoryDescriptors
DynamicConfiguration. addActiveFactoryDescriptor(Class<? extends Factory<T>> rawFactoryClass)
This adds two active descriptors to the system based completely on the analysis of the givenFactory
class. -
Uses of Factory in org.glassfish.hk2.utilities
Methods in org.glassfish.hk2.utilities with parameters of type Factory Modifier and Type Method Description static List<FactoryDescriptors>
ServiceLocatorUtilities. addFactoryConstants(ServiceLocator locator, Factory<?>... constants)
This method adds factory constants to the given locator. -
Uses of Factory in org.glassfish.hk2.utilities.binding
Methods in org.glassfish.hk2.utilities.binding with parameters of type Factory Modifier and Type Method Description <T> ServiceBindingBuilder<T>
AbstractBinder. bindFactory(Factory<T> factory)
Start building a new factory instance-based service binding.static <T> ServiceBindingBuilder<T>
BindingBuilderFactory. newFactoryBinder(Factory<T> factory)
Get a new factory instance-based service binding builder.Method parameters in org.glassfish.hk2.utilities.binding with type arguments of type Factory Modifier and Type Method Description <T> FactoryDescriptors
AbstractBinder. addActiveFactoryDescriptor(Class<? extends Factory<T>> rawFactoryClass)
This adds two active descriptors to the system based completely on the analysis of the givenFactory
class.<T> ServiceBindingBuilder<T>
AbstractBinder. bindFactory(Class<? extends Factory<T>> factoryType)
Start building a new factory class-based service binding.<T> ServiceBindingBuilder<T>
AbstractBinder. bindFactory(Class<? extends Factory<T>> factoryType, Class<? extends Annotation> factoryScope)
Start building a new factory class-based service binding.static <T> ServiceBindingBuilder<T>
BindingBuilderFactory. newFactoryBinder(Class<? extends Factory<T>> factoryType)
Get a new factory class-based service binding builder.static <T> ServiceBindingBuilder<T>
BindingBuilderFactory. newFactoryBinder(Class<? extends Factory<T>> factoryType, Class<? extends Annotation> factoryScope)
Get a new factory class-based service binding builder. -
Uses of Factory in org.jvnet.hk2.internal
Method parameters in org.jvnet.hk2.internal with type arguments of type Factory Modifier and Type Method Description <T> FactoryDescriptors
DynamicConfigurationImpl. addActiveFactoryDescriptor(Class<? extends Factory<T>> rawFactoryClass)
-
Uses of Factory in org.jvnet.hk2.metadata.tests
Classes in org.jvnet.hk2.metadata.tests that implement Factory Modifier and Type Class Description class
AbstractFactory<A,B,C,D>
This is an abstract factory, the true type will comd from the concrete classclass
ComplexFactory
A factory thar produces a complex object typeclass
ConcreteFactory<F>
The class that corresponds to the Factory provide method is not first, it is not last, it is somewhere in the middle (the Integer)class
FactoryWithDefaultProxy
class
FactoryWithDefaultProxyForSameScope
class
FactoryWithFalseProxy
class
FactoryWithFalseProxyForSameScope
class
FactoryWithRanks
class
FactoryWithVisibility
-
Uses of Factory in org.jvnet.hk2.metadata.tests.complextypefactory
Classes in org.jvnet.hk2.metadata.tests.complextypefactory that implement Factory Modifier and Type Class Description class
AbstractComplexFactory<E,F,G,H>
class
ConcreteComplexFactory<A,B>
class
MiddleComplexFactory<C,D>
-