wt.fc.manifest
Class DirectiveDelegateFactory

java.lang.Object
  extended bywt.fc.manifest.DirectiveDelegateFactory
All Implemented Interfaces:
ApplicationContextChild

public class DirectiveDelegateFactory
extends Object
implements ApplicationContextChild

Factory for selecting DirectiveDelegates based on a Directive class name.

Supported API: false

Extendable: false


Field Summary
private  ApplicationContext applicationContext
           
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
DirectiveDelegateFactory()
          Constructs an instance of URLActionDelegateFactory.
 
Method Summary
 ApplicationContext getApplicationContext()
          Gets the object for the association that plays role: applicationContext.
private  ApplicationContextServices getApplicationContextServices()
           
 DirectiveDelegate getDirectiveDelegate(String directiveType)
          Gets and returns an instance of a class that implements the URLActionDelegate interface.
 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
Constructor Detail

DirectiveDelegateFactory

public DirectiveDelegateFactory()
                         throws UnableToLoadServiceProperties
Constructs an instance of URLActionDelegateFactory.

Supported API: false

Throws:
UnableToLoadServiceProperties
Method Detail

getDirectiveDelegate

public DirectiveDelegate getDirectiveDelegate(String directiveType)
Gets and returns an instance of a class that implements the URLActionDelegate interface.

Supported API: false

Parameters:
directiveType -
Returns:
DirectiveDelegate

getApplicationContextServices

private ApplicationContextServices getApplicationContextServices()
Returns:
ApplicationContextServices

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