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
See Also:
  • Method Details

    • 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 -