wt.clients.beans.selectors
Class ComponentDelegateFactory

java.lang.Object
  extended bywt.clients.beans.selectors.ComponentDelegateFactory
All Implemented Interfaces:
ApplicationContextChild, Serializable

public class ComponentDelegateFactory
extends Object
implements ApplicationContextChild, Serializable

This is the factory for creating ComponentDelegates.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private  ApplicationContext applicationContext
           
private static String CLASSNAME
           
private static ComponentDelegateFactory manager
           
private static String RESOURCE
           
private static String versionID
           
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
protected ComponentDelegateFactory()
          This method is protected.
 
Method Summary
 ApplicationContextServices getApplContextServices()
           
 ApplicationContext getApplicationContext()
          Gets the object for the association that plays role: applicationContext.
 ComponentDelegate getDelegate(PropertyDescriptor p, ComponentContext c)
           
static ComponentDelegateFactory getInstance()
          Return an instance of the ComponentDelegateFactory.
 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

versionID

private static final String versionID
See Also:
Constant Field Values

manager

private static ComponentDelegateFactory manager

applicationContext

private ApplicationContext applicationContext
Constructor Detail

ComponentDelegateFactory

protected ComponentDelegateFactory()
This method is protected. Use the getInstance() method to obtain an instance of the ComponentDelegateFactory. Its implemented as a Singleton.

Method Detail

getDelegate

public ComponentDelegate getDelegate(PropertyDescriptor p,
                                     ComponentContext c)
Parameters:
p -
c -
Returns:
ComponentDelegate

getInstance

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

Returns:
ComponentDelegateFactory

getApplicationContext

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

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.

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

getApplContextServices

public ApplicationContextServices getApplContextServices()