Package wt.container.batch
Class BatchContainerFactory
java.lang.Object
wt.container.batch.BatchContainerFactory
- All Implemented Interfaces:
Externalizable,Serializable,wt.services.applicationcontext.ApplicationContextChild
public class BatchContainerFactory
extends Object
implements wt.services.applicationcontext.ApplicationContextChild, Externalizable
Class BatchContainerFactory provides "well-known" access to operations
for instantiating objects associated with BatchContainers. Class BatchContainerFactory
does not really manufacture objects, it defers this to an instance of
BatchContainerFactoryIfc. This way a set of "well-known" or global operations
are available to pgorammers and yet a polymorphic set of actual factories
can be used.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic BatchContainerFactoryIfcOperation to obtain the real BatchContainerFactory.static AttributedRoleBatchContainerinstantiateAttributedRoleBatchContainer(TransactionContainer txnContainer, String name, String assocName, String roleName, Object fromObj) Factory method used to create AttributedRoleBatchContainers.static BatchContainerinstantiateGeneralBatchContainer(TransactionContainer txnContainer, String name) Factory method used to create BatchContainers.static RoleBatchContainerinstantiateRoleBatchContainer(TransactionContainer txnContainer, String name, String assocName, String roleName, Object fromObj) Factory method used to create RoleBatchContainers.static TransactionContainerFactory method used to create TransactionContainers.static voidOperation used to specify the real BatchContainerFactory.
-
Method Details
-
instantiateTransactionContainer
Factory method used to create TransactionContainers.
Supported API: true- Returns:
- TransactionContainer
-
instantiateGeneralBatchContainer
public static BatchContainer instantiateGeneralBatchContainer(TransactionContainer txnContainer, String name) Factory method used to create BatchContainers.
Supported API: true- Parameters:
txnContainer-name-- Returns:
- BatchContainer
-
instantiateRoleBatchContainer
public static RoleBatchContainer instantiateRoleBatchContainer(TransactionContainer txnContainer, String name, String assocName, String roleName, Object fromObj) Factory method used to create RoleBatchContainers.
Supported API: true- Parameters:
txnContainer-name-assocName-roleName-fromObj-- Returns:
- RoleBatchContainer
-
instantiateAttributedRoleBatchContainer
public static AttributedRoleBatchContainer instantiateAttributedRoleBatchContainer(TransactionContainer txnContainer, String name, String assocName, String roleName, Object fromObj) Factory method used to create AttributedRoleBatchContainers.
Supported API: true- Parameters:
txnContainer-name-assocName-roleName-fromObj-- Returns:
- AttributedRoleBatchContainer
-
getBatchContainerFactoryIfc
Operation to obtain the real BatchContainerFactory.
Supported API: true- Returns:
- BatchContainerFactoryIfc
-
setBatchContainerFactoryIfc
Operation used to specify the real BatchContainerFactory.
Supported API: true- Parameters:
factory-
-