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.ExecutionLabeller
addExecutionStrategy()
Adds a requiredExecutionStrategy
identified by an index into the order theExecutionStrategy
was added.AbstractAsyncManagedObjectSource.Labeller<F>
addFlow(F key, java.lang.Class<?> argumentType)
Adds a requiredFlow
identified by the key.AbstractAsyncManagedObjectSource.Labeller<F>
addFlow(java.lang.Class<?> argumentType)
<E> void
addManagedObjectExtension(java.lang.Class<E> interfaceType, ExtensionFactory<E> extensionInterfaceFactory)
Adds aManagedObjectExtensionMetaData
instance.ManagedObjectSourceContext<F>
getManagedObjectSourceContext()
Obtains theManagedObjectSourceContext
.void
setManagedObjectClass(java.lang.Class<? extends ManagedObject> managedObjectClass)
Specifies the type of theManagedObject
.void
setObjectClass(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
-ManagedObject
type.
-
addDependency
AbstractAsyncManagedObjectSource.DependencyLabeller<O> addDependency(O key, java.lang.Class<?> dependencyType)
Adds a required dependency identified by the key.- Parameters:
key
-Enum
to identify the dependency.dependencyType
- Type the dependency is required to extend/implement.- Returns:
AbstractAsyncManagedObjectSource.DependencyLabeller
to 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.DependencyLabeller
to possibly label the required dependency.
-
addFlow
AbstractAsyncManagedObjectSource.Labeller<F> addFlow(F key, java.lang.Class<?> argumentType)
Adds a requiredFlow
identified by the key.- Parameters:
key
-Enum
to identify theFlow
.argumentType
- Type of argument passed to theFlow
.- Returns:
AbstractAsyncManagedObjectSource.Labeller
to possibly label theFlow
.
-
addFlow
AbstractAsyncManagedObjectSource.Labeller<F> addFlow(java.lang.Class<?> argumentType)
- Parameters:
argumentType
- Type of argument passed to theFlow
.- Returns:
AbstractAsyncManagedObjectSource.Labeller
to possibly label theFlow
.
-
addExecutionStrategy
AbstractAsyncManagedObjectSource.ExecutionLabeller addExecutionStrategy()
Adds a requiredExecutionStrategy
identified by an index into the order theExecutionStrategy
was added.- Returns:
AbstractAsyncManagedObjectSource.ExecutionLabeller
to possibly label theExecutionStrategy
.
-
addManagedObjectExtension
<E> void addManagedObjectExtension(java.lang.Class<E> interfaceType, ExtensionFactory<E> extensionInterfaceFactory)
Adds aManagedObjectExtensionMetaData
instance.- Type Parameters:
E
- Extension interface type.- Parameters:
interfaceType
- Type of the extension interface supported by theManagedObject
instances.extensionInterfaceFactory
-ExtensionFactory
.
-
-