|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.script.wrappers.ObjectWrapperImpl
public abstract class ObjectWrapperImpl
ObjectWrapperImpl serves as a simple base class for more complex classes that wrap Java objects that are represented as JavaScript objects. The ObjectWrapperImpl class itself merely provides the functionality associated with holding a Java object. It is intended that subclasses of the ObjectWrapperImpl class provide the Java interface for the contained Java objects, and that JavaScript objects for those subclasses are constructed using ObjectWrapperManager.
Constructor Summary | |
---|---|
ObjectWrapperImpl()
|
|
ObjectWrapperImpl(java.lang.Object javaObject)
Constructor with an Object argument. |
Method Summary | |
---|---|
void |
dispose()
Instruct the ObjectWrapper to remove itself from the ObjectWrapperManager, freeing up resources. |
java.lang.String |
getKey()
Get the unique key that can be used with the ObjectWrapperManager to get at any object that the implementation of this interface is wrapping. |
void |
setKey(java.lang.String key)
Set the unique key that can used with ObjectWrapperManager to get at any object the the implementation of this interface is wrapping. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ObjectWrapperImpl()
public ObjectWrapperImpl(java.lang.Object javaObject)
javaObject
- The Java object to be contained within the ObjectWrapper.Method Detail |
---|
public void dispose()
ObjectWrapper
dispose
in interface DisposeListener
dispose
in interface ObjectWrapper
public java.lang.String getKey()
ObjectWrapper
getKey
in interface ObjectWrapper
public void setKey(java.lang.String key)
ObjectWrapper
setKey
in interface ObjectWrapper
key
- The key to set for this object.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |