wt.workflow.definer
Class WfDefinitionDelegateFactory

java.lang.Object
  extended bywt.workflow.definer.WfDefinitionDelegateFactory
All Implemented Interfaces:
ApplicationContextChild, Serializable

public class WfDefinitionDelegateFactory
extends Object
implements ApplicationContextChild, Serializable

WfDefinitionDelegateFactor creates instances of classes that implement the WfDefinitionDelegate interface.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  ApplicationContext applicationContext
           
private static String CLASSNAME
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
WfDefinitionDelegateFactory(Assertion asser)
          Constructs an instance of WfDefinitionDelegateFactory.
 
Method Summary
 ApplicationContextServices getApplContextServices()
           
 ApplicationContext getApplicationContext()
          Gets the object for the association that plays role: applicationContext.
 WfDefinitionDelegate getWfDefinitionDelegate(Assertion assertion)
          Returns an instance of a class that implements the WfDefinitionDelegate interface

Supported API: false
 void setApplicationContext(ApplicationContext a_ApplicationContext)
          Sets the object for the association that plays role: applicationContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

applicationContext

private ApplicationContext applicationContext

VERBOSE

private static final boolean VERBOSE
Constructor Detail

WfDefinitionDelegateFactory

public WfDefinitionDelegateFactory(Assertion asser)
                            throws UnableToLoadServiceProperties
Constructs an instance of WfDefinitionDelegateFactory.

Supported API: false

Parameters:
asser - the BatchContainer assertion. The target object in the assertion is used to determine which WfDefinitionDelegate to instantiate.
Throws:
UnableToLoadServiceProperties
Method Detail

getWfDefinitionDelegate

public WfDefinitionDelegate getWfDefinitionDelegate(Assertion assertion)
                                             throws WTException,
                                                    PropertyVetoException
Returns an instance of a class that implements the WfDefinitionDelegate interface

Supported API: false

Parameters:
assertion - the BatchContainer assertion. The target object in the assertion is used to determine which WfDefinition delegate to instantiate.
Returns:
WfDefinitionDelegate
Throws:
WTException
PropertyVetoException

getApplicationContext

public ApplicationContext getApplicationContext()
Gets the object for the association that plays role: applicationContext.

Supported API: false

Specified by:
getApplicationContext in interface ApplicationContextChild
Returns:
ApplicationContext

setApplicationContext

public void setApplicationContext(ApplicationContext a_ApplicationContext)
                           throws WTPropertyVetoException
Sets the object for the association that plays role: applicationContext.

Supported API: false

Specified by:
setApplicationContext in interface ApplicationContextChild
Parameters:
a_ApplicationContext -
Throws:
WTPropertyVetoException

getApplContextServices

public ApplicationContextServices getApplContextServices()