Uses of Interface
org.glassfish.hk2.api.Factory
Packages that use Factory
Package
Description
-
Uses of Factory in org.glassfish.hk2.api
Method parameters in org.glassfish.hk2.api with type arguments of type FactoryModifier and TypeMethodDescriptionDynamicConfiguration.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 FactoryModifier and TypeMethodDescriptionstatic 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 FactoryModifier and TypeFieldDescriptionAbstractBindingBuilder.FactoryInstanceBasedBindingBuilder.factory
Fields in org.glassfish.hk2.utilities.binding with type parameters of type FactoryModifier and TypeFieldDescriptionAbstractBindingBuilder.FactoryTypeBasedBindingBuilder.factoryClass
Methods in org.glassfish.hk2.utilities.binding with parameters of type FactoryModifier and TypeMethodDescription<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 FactoryModifier and TypeMethodDescriptionAbstractBinder.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.(package private) static <T> AbstractBindingBuilder
<T> AbstractBindingBuilder.createFactoryBinder
(Class<? extends Factory<T>> factoryType, Class<? extends Annotation> factoryScope) Create a new service binding builder.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.Constructors in org.glassfish.hk2.utilities.binding with parameters of type FactoryConstructor parameters in org.glassfish.hk2.utilities.binding with type arguments of type FactoryModifierConstructorDescriptionFactoryTypeBasedBindingBuilder
(Class<? extends Factory<T>> factoryClass, Class<? extends Annotation> factoryScope) -
Uses of Factory in org.jvnet.hk2.internal
Methods in org.jvnet.hk2.internal that return types with arguments of type FactoryModifier and TypeMethodDescriptionprivate ServiceHandle
<Factory<T>> FactoryCreator.getFactoryHandle()
Method parameters in org.jvnet.hk2.internal with type arguments of type FactoryModifier and TypeMethodDescriptionDynamicConfigurationImpl.addActiveFactoryDescriptor
(Class<? extends Factory<T>> rawFactoryClass) -
Uses of Factory in org.jvnet.hk2.metadata.tests
Classes in org.jvnet.hk2.metadata.tests that implement FactoryModifier and TypeClassDescriptionclass
AbstractFactory<A,
B, C, D> This is an abstract factory, the true type will comd from the concrete classclass
A factory thar produces a complex object typeclass
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
class
class
class
class
class
-
Uses of Factory in org.jvnet.hk2.metadata.tests.complextypefactory
Classes in org.jvnet.hk2.metadata.tests.complextypefactory that implement FactoryModifier and TypeClassDescriptionclass
AbstractComplexFactory<E,
F, G, H> class
class
MiddleComplexFactory<C,
D>