wt.container.batch
Class BatchContainerFactory

java.lang.Object
  extended by 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

See Also:
Serialized Form

Method Summary
static BatchContainerFactoryIfc getBatchContainerFactoryIfc()
          Operation to obtain the real BatchContainerFactory.
static AttributedRoleBatchContainer instantiateAttributedRoleBatchContainer(TransactionContainer txnContainer, String name, String assocName, String roleName, Object fromObj)
          Factory method used to create AttributedRoleBatchContainers.
static BatchContainer instantiateGeneralBatchContainer(TransactionContainer txnContainer, String name)
          Factory method used to create BatchContainers.
static RoleBatchContainer instantiateRoleBatchContainer(TransactionContainer txnContainer, String name, String assocName, String roleName, Object fromObj)
          Factory method used to create RoleBatchContainers.
static TransactionContainer instantiateTransactionContainer()
          Factory method used to create TransactionContainers.
static void setBatchContainerFactoryIfc(BatchContainerFactoryIfc factory)
          Operation used to specify the real BatchContainerFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instantiateTransactionContainer

public static TransactionContainer 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

public static BatchContainerFactoryIfc getBatchContainerFactoryIfc()
Operation to obtain the real BatchContainerFactory.

Supported API: true

Returns:
BatchContainerFactoryIfc

setBatchContainerFactoryIfc

public static void setBatchContainerFactoryIfc(BatchContainerFactoryIfc factory)
Operation used to specify the real BatchContainerFactory.

Supported API: true

Parameters:
factory -