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(java.lang.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 java.util.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
Fields in org.glassfish.hk2.utilities.binding declared as Factory Modifier and Type Field Description private Factory<T>
AbstractBindingBuilder.FactoryInstanceBasedBindingBuilder. factory
Fields in org.glassfish.hk2.utilities.binding with type parameters of type Factory Modifier and Type Field Description private java.lang.Class<? extends Factory<T>>
AbstractBindingBuilder.FactoryTypeBasedBindingBuilder. factoryClass
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.(package private) static <T> AbstractBindingBuilder<T>
AbstractBindingBuilder. createFactoryBinder(Factory<T> factory)
Create a new service binding builder.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(java.lang.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(java.lang.Class<? extends Factory<T>> factoryType)
Start building a new factory class-based service binding.<T> ServiceBindingBuilder<T>
AbstractBinder. bindFactory(java.lang.Class<? extends Factory<T>> factoryType, java.lang.Class<? extends java.lang.annotation.Annotation> factoryScope)
Start building a new factory class-based service binding.(package private) static <T> AbstractBindingBuilder<T>
AbstractBindingBuilder. createFactoryBinder(java.lang.Class<? extends Factory<T>> factoryType, java.lang.Class<? extends java.lang.annotation.Annotation> factoryScope)
Create a new service binding builder.static <T> ServiceBindingBuilder<T>
BindingBuilderFactory. newFactoryBinder(java.lang.Class<? extends Factory<T>> factoryType)
Get a new factory class-based service binding builder.static <T> ServiceBindingBuilder<T>
BindingBuilderFactory. newFactoryBinder(java.lang.Class<? extends Factory<T>> factoryType, java.lang.Class<? extends java.lang.annotation.Annotation> factoryScope)
Get a new factory class-based service binding builder.Constructors in org.glassfish.hk2.utilities.binding with parameters of type Factory Constructor Description FactoryInstanceBasedBindingBuilder(Factory<T> factory)
Constructor parameters in org.glassfish.hk2.utilities.binding with type arguments of type Factory Constructor Description FactoryTypeBasedBindingBuilder(java.lang.Class<? extends Factory<T>> factoryClass, java.lang.Class<? extends java.lang.annotation.Annotation> factoryScope)
-
Uses of Factory in org.jvnet.hk2.internal
Methods in org.jvnet.hk2.internal that return types with arguments of type Factory Modifier and Type Method Description private ServiceHandle<Factory<T>>
FactoryCreator. getFactoryHandle()
Method parameters in org.jvnet.hk2.internal with type arguments of type Factory Modifier and Type Method Description <T> FactoryDescriptors
DynamicConfigurationImpl. addActiveFactoryDescriptor(java.lang.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>
-