public abstract class ObjectWrapperImpl extends java.lang.Object implements ObjectWrapper
| Constructor and Description |
|---|
ObjectWrapperImpl() |
ObjectWrapperImpl(java.lang.Object javaObject)
Constructor with an Object argument.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public ObjectWrapperImpl()
public ObjectWrapperImpl(java.lang.Object javaObject)
javaObject - The Java object to be contained within the ObjectWrapper.public void dispose()
ObjectWrapperdispose in interface DisposeListenerdispose in interface ObjectWrapperpublic java.lang.String getKey()
ObjectWrappergetKey in interface ObjectWrapperpublic void setKey(java.lang.String key)
ObjectWrappersetKey in interface ObjectWrapperkey - The key to set for this object.public java.lang.String toString()
toString in class java.lang.Object