wt.clients.beans.selectors
Class ComponentDelegateFactory
java.lang.Object
wt.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ComponentDelegateFactory
protected ComponentDelegateFactory()
- This method is protected. Use the getInstance() method to obtain an
instance of the ComponentDelegateFactory. Its implemented as a Singleton.
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()