Interface AbstractAsyncManagedObjectSource.MetaDataContext<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
-
- Enclosing class:
- AbstractAsyncManagedObjectSource<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
public static interface AbstractAsyncManagedObjectSource.MetaDataContext<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>Context for theManagedObjectSource.init(ManagedObjectSourceContext).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbstractAsyncManagedObjectSource.DependencyLabeller<O>addDependency(java.lang.Class<?> dependencyType)Adds a required dependency identified by an index into the order the dependency was added.AbstractAsyncManagedObjectSource.DependencyLabeller<O>addDependency(O key, java.lang.Class<?> dependencyType)Adds a required dependency identified by the key.AbstractAsyncManagedObjectSource.ExecutionLabelleraddExecutionStrategy()Adds a requiredExecutionStrategyidentified by an index into the order theExecutionStrategywas added.AbstractAsyncManagedObjectSource.Labeller<F>addFlow(F key, java.lang.Class<?> argumentType)Adds a requiredFlowidentified by the key.AbstractAsyncManagedObjectSource.Labeller<F>addFlow(java.lang.Class<?> argumentType)<E> voidaddManagedObjectExtension(java.lang.Class<E> interfaceType, ExtensionFactory<E> extensionInterfaceFactory)Adds aManagedObjectExtensionMetaDatainstance.ManagedObjectSourceContext<F>getManagedObjectSourceContext()Obtains theManagedObjectSourceContext.voidsetManagedObjectClass(java.lang.Class<? extends ManagedObject> managedObjectClass)Specifies the type of theManagedObject.voidsetObjectClass(java.lang.Class<?> objectClass)Specifies the type of the object returned from theManagedObject.
-
-
-
Method Detail
-
getManagedObjectSourceContext
ManagedObjectSourceContext<F> getManagedObjectSourceContext()
Obtains theManagedObjectSourceContext.- Returns:
ManagedObjectSourceContext.
-
setObjectClass
void setObjectClass(java.lang.Class<?> objectClass)
Specifies the type of the object returned from theManagedObject.- Parameters:
objectClass- Object type.
-
setManagedObjectClass
void setManagedObjectClass(java.lang.Class<? extends ManagedObject> managedObjectClass)
Specifies the type of theManagedObject.- Parameters:
managedObjectClass-ManagedObjecttype.
-
addDependency
AbstractAsyncManagedObjectSource.DependencyLabeller<O> addDependency(O key, java.lang.Class<?> dependencyType)
Adds a required dependency identified by the key.- Parameters:
key-Enumto identify the dependency.dependencyType- Type the dependency is required to extend/implement.- Returns:
AbstractAsyncManagedObjectSource.DependencyLabellerto possibly label the required dependency.
-
addDependency
AbstractAsyncManagedObjectSource.DependencyLabeller<O> addDependency(java.lang.Class<?> dependencyType)
Adds a required dependency identified by an index into the order the dependency was added.- Parameters:
dependencyType- Type the dependency is required to extend/implement.- Returns:
AbstractAsyncManagedObjectSource.DependencyLabellerto possibly label the required dependency.
-
addFlow
AbstractAsyncManagedObjectSource.Labeller<F> addFlow(F key, java.lang.Class<?> argumentType)
Adds a requiredFlowidentified by the key.- Parameters:
key-Enumto identify theFlow.argumentType- Type of argument passed to theFlow.- Returns:
AbstractAsyncManagedObjectSource.Labellerto possibly label theFlow.
-
addFlow
AbstractAsyncManagedObjectSource.Labeller<F> addFlow(java.lang.Class<?> argumentType)
- Parameters:
argumentType- Type of argument passed to theFlow.- Returns:
AbstractAsyncManagedObjectSource.Labellerto possibly label theFlow.
-
addExecutionStrategy
AbstractAsyncManagedObjectSource.ExecutionLabeller addExecutionStrategy()
Adds a requiredExecutionStrategyidentified by an index into the order theExecutionStrategywas added.- Returns:
AbstractAsyncManagedObjectSource.ExecutionLabellerto possibly label theExecutionStrategy.
-
addManagedObjectExtension
<E> void addManagedObjectExtension(java.lang.Class<E> interfaceType, ExtensionFactory<E> extensionInterfaceFactory)Adds aManagedObjectExtensionMetaDatainstance.- Type Parameters:
E- Extension interface type.- Parameters:
interfaceType- Type of the extension interface supported by theManagedObjectinstances.extensionInterfaceFactory-ExtensionFactory.
-
-