wt.adapter.attribute
Class AttributeDelegateFactory

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

public class AttributeDelegateFactory
extends Object
implements ApplicationContextChild, Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  ApplicationContext applicationContext
           
private static String CLASSNAME
           
private static AttributeDelegate defaultDelegate
           
private static Hashtable hash
           
private static AttributeDelegateFactory manager
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
protected AttributeDelegateFactory()
          

Supported API: false
 
Method Summary
 ApplicationContextServices getApplContextServices()
           
 ApplicationContext getApplicationContext()
          Gets the object for the association that plays role: applicationContext.
private static AttributeDelegate getDelegate(Class c, String attributeName)
           
 AttributeDelegate getDelegate(Object object, String attributeName)
          

Supported API: false
static AttributeDelegateFactory getInstance()
          

Supported API: false
private static void putDelegate(Class c, AttributeDelegate d)
           
 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 AttributeDelegateFactory manager

applicationContext

private ApplicationContext applicationContext

hash

private static Hashtable hash

defaultDelegate

private static AttributeDelegate defaultDelegate

VERBOSE

private static boolean VERBOSE
Constructor Detail

AttributeDelegateFactory

protected AttributeDelegateFactory()


Supported API: false

Method Detail

getDelegate

public AttributeDelegate getDelegate(Object object,
                                     String attributeName)
                              throws WTException


Supported API: false

Parameters:
object -
attributeName -
Returns:
AttributeDelegate
Throws:
WTException

getInstance

public static AttributeDelegateFactory getInstance()


Supported API: false

Returns:
AttributeDelegateFactory

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

getDelegate

private static AttributeDelegate getDelegate(Class c,
                                             String attributeName)
                                      throws NoSuchMethodException
Throws:
NoSuchMethodException

putDelegate

private static void putDelegate(Class c,
                                AttributeDelegate d)