public static interface AbstractAsyncManagedObjectSource.MetaDataContext<D extends Enum<D>,F extends Enum<F>>
ManagedObjectSource.getMetaData()
.Modifier and Type | Method and Description |
---|---|
AbstractAsyncManagedObjectSource.DependencyLabeller |
addDependency(Class<?> dependencyType)
Adds a required dependency identified by an index into the order the
dependency was added.
|
AbstractAsyncManagedObjectSource.DependencyLabeller |
addDependency(D key,
Class<?> dependencyType)
Adds a required dependency identified by the key.
|
AbstractAsyncManagedObjectSource.Labeller |
addFlow(Class<?> argumentType)
Adds a required
JobSequence identified by an index into the
order the JobSequence was added. |
AbstractAsyncManagedObjectSource.Labeller |
addFlow(F key,
Class<?> argumentType)
Adds a required
JobSequence identified by the key. |
<I> void |
addManagedObjectExtensionInterface(Class<I> interfaceType,
ExtensionInterfaceFactory<I> extensionInterfaceFactory)
Adds a
ManagedObjectExtensionInterfaceMetaData instance. |
ManagedObjectSourceContext<F> |
getManagedObjectSourceContext()
Obtains the
ManagedObjectSourceContext . |
void |
setManagedObjectClass(Class<? extends ManagedObject> managedObjectClass)
Specifies the type of the
ManagedObject . |
void |
setObjectClass(Class<?> objectClass)
Specifies the type of the object returned from the
ManagedObject . |
ManagedObjectSourceContext<F> getManagedObjectSourceContext()
ManagedObjectSourceContext
.ManagedObjectSourceContext
.void setObjectClass(Class<?> objectClass)
ManagedObject
.objectClass
- Object type.void setManagedObjectClass(Class<? extends ManagedObject> managedObjectClass)
ManagedObject
.managedObjectClass
- ManagedObject
type.AbstractAsyncManagedObjectSource.DependencyLabeller addDependency(D key, Class<?> dependencyType)
key
- Enum
to identify the dependency.dependencyType
- Type the dependency is required to extend/implement.AbstractAsyncManagedObjectSource.DependencyLabeller
to possibly label the required
dependency.AbstractAsyncManagedObjectSource.DependencyLabeller addDependency(Class<?> dependencyType)
dependencyType
- Type the dependency is required to extend/implement.AbstractAsyncManagedObjectSource.DependencyLabeller
to possibly label the required
dependency.AbstractAsyncManagedObjectSource.Labeller addFlow(F key, Class<?> argumentType)
JobSequence
identified by the key.key
- Enum
to identify the JobSequence
.argumentType
- Type of argument passed to the JobSequence
.AbstractAsyncManagedObjectSource.Labeller
to possibly label the JobSequence
.AbstractAsyncManagedObjectSource.Labeller addFlow(Class<?> argumentType)
JobSequence
identified by an index into the
order the JobSequence
was added.argumentType
- Type of argument passed to the JobSequence
.AbstractAsyncManagedObjectSource.Labeller
to possibly label the JobSequence
.<I> void addManagedObjectExtensionInterface(Class<I> interfaceType, ExtensionInterfaceFactory<I> extensionInterfaceFactory)
ManagedObjectExtensionInterfaceMetaData
instance.I
- Extension interface type.interfaceType
- Type of the extension interface supported by the
ManagedObject
instances.extensionInterfaceFactory
- ExtensionInterfaceFactory
.Copyright © 2005–2016. All rights reserved.