Uses of Class
de.aristaflow.adept2.base.registry.AbstractRegistry.InstantiationMode
-
Packages that use AbstractRegistry.InstantiationMode Package Description de.aristaflow.adept2.base.registry -
-
Uses of AbstractRegistry.InstantiationMode in de.aristaflow.adept2.base.registry
Fields in de.aristaflow.adept2.base.registry declared as AbstractRegistry.InstantiationMode Modifier and Type Field Description protected AbstractRegistry.InstantiationMode
AbstractRegistry.InstanceInformation. instantiationMode
How many instances of the instance may exist (0, 1, many).Methods in de.aristaflow.adept2.base.registry that return AbstractRegistry.InstantiationMode Modifier and Type Method Description protected AbstractRegistry.InstantiationMode
AbstractRegistry. getInstantiationMode(String componentType, String simpleInstanceName, org.apache.commons.configuration2.Configuration registryConfiguration)
Returns the instantiation mode for the designated component instance as specified in the corresponding configuration.protected AbstractRegistry.InstantiationMode
LocalServiceRegistry. getInstantiationMode(String serviceType, String simpleName, org.apache.commons.configuration2.Configuration registryConfiguration)
Overridden to log non-singleton services.static AbstractRegistry.InstantiationMode
AbstractRegistry.InstantiationMode. valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractRegistry.InstantiationMode[]
AbstractRegistry.InstantiationMode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in de.aristaflow.adept2.base.registry with parameters of type AbstractRegistry.InstantiationMode Modifier and Type Method Description protected static ServiceInformation
ServiceInformation. createExportedLocalService(String serviceType, AbstractRegistry.InstantiationMode instantiationMode, String implementationClass, String[] exportServiceInstances, boolean publish)
Creates a new service information instance for an exported local service with the designated attributes.protected static ServiceInformation
ServiceInformation. createNonExportedLocalService(String serviceType, AbstractRegistry.InstantiationMode instantiationMode, String implementationClass)
Creates a new service information instance for a non-exported local service with the designated attributes.protected <T> T
AbstractRegistry. getArbitrarilyNamedObject(String instName, org.apache.commons.configuration2.Configuration instConf, Class<T> componentType, ClassLoader classLoader, Class<?>[] parameterTypes, Object[] parameterValues, AbstractRegistry.InstantiationMode instantiationMode)
Gets an arbitrary object for the designated component instance of the requested component type.protected <T> T
AbstractRegistry. getObjectForInstanceName(String instanceName, Class<T> componentType, Class<?>[] addParameterTypes, Object[] addParameterValues, AbstractRegistry.InstantiationMode instantiationMode)
Gets an object for the designated instance name of the requested component type using the designated instantiation mode from the corresponding configuration.Constructors in de.aristaflow.adept2.base.registry with parameters of type AbstractRegistry.InstantiationMode Constructor Description InstanceInformation(String componentType, AbstractRegistry.InstantiationMode instantiationMode, String implementationClass)
Creates a new 3-tuple with the configured component instance properties for an instance specified via its implementation class.
-