wt.adapter
Class WebjectDelegateFactory

java.lang.Object
  extended bywt.adapter.WebjectDelegateFactory
All Implemented Interfaces:
ApplicationContextChild, Serializable

public class WebjectDelegateFactory
extends Object
implements ApplicationContextChild, Serializable

This is the factory for createing WebjectDelegates.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private  ApplicationContext applicationContext
           
private static String CLASSNAME
           
private static WebjectDelegateFactory manager
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
protected WebjectDelegateFactory()
          Construct an instance of the Factory.
 
Method Summary
 ApplicationContextServices getApplContextServices()
           
 ApplicationContext getApplicationContext()
          Gets the object for the association that plays role: applicationContext.
 WebjectDelegate getDelegate(Webject webject)
          Return a webject delegate for the specified command.
static WebjectDelegateFactory getInstance()
          Return an instance of the WebjectDelegateFactory.
private  Class getTargetObjectClass(Webject webject)
           
 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

manager

private static WebjectDelegateFactory manager

applicationContext

private ApplicationContext applicationContext

VERBOSE

private static boolean VERBOSE
Constructor Detail

WebjectDelegateFactory

protected WebjectDelegateFactory()
Construct an instance of the Factory.

Supported API: false

Method Detail

getDelegate

public WebjectDelegate getDelegate(Webject webject)
                            throws WebjectServiceException
Return a webject delegate for the specified command.

Supported API: false

Parameters:
webject -
Returns:
WebjectDelegate
Throws:
WebjectServiceException

getInstance

public static WebjectDelegateFactory getInstance()
Return an instance of the WebjectDelegateFactory.

Supported API: false

Returns:
WebjectDelegateFactory

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()

getTargetObjectClass

private Class getTargetObjectClass(Webject webject)