stomp.enhance
Class AbstractServiceDelegate
java.lang.Object
|
+--stomp.jdo.AbstractPersistentObject
|
+--stomp.service.AbstractServiceEnabled
|
+--stomp.enhance.AbstractServiceDelegate
- All Implemented Interfaces:
- AccessControlled, Persistent, java.io.Serializable, ServiceDelegate, ServiceEnabled, ServiceEnhanced, TransientTransactional
- public abstract class AbstractServiceDelegate
- extends AbstractServiceEnabled
- implements ServiceDelegate
base class for all enhanced Service Delegate objects, which implements
common functionality like getting the proxy, caching wrapped versions
of fields, etc...
- Author:
- Eric Lindauer
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractServiceDelegate
public AbstractServiceDelegate()
proxyIsInitialized
public boolean proxyIsInitialized()
- Description copied from interface:
ServiceDelegate
- returns true if the ServiceProxy for this object has been initialized,
false otherwise. If getServiceProxy has been called, this method
returns true;
- Specified by:
proxyIsInitialized
in interface ServiceDelegate
setServiceProxy
public void setServiceProxy(ServiceProxy proxy)
- Description copied from interface:
ServiceDelegate
- sets the object that should be returned from any calls to getServiceProxy
- Specified by:
setServiceProxy
in interface ServiceDelegate
getServiceProxy
public ServiceProxy getServiceProxy()
- Description copied from interface:
ServiceDelegate
- returns a ServiceProxy which has this object as its ServiceDelegate.
- Specified by:
getServiceProxy
in interface ServiceDelegate
createServiceProxy
protected abstract ServiceProxy createServiceProxy()
findInPm
public java.lang.Object findInPm(javax.jdo.PersistenceManager pm)
- overriden by subclasses to refind persistent relations in the given
persistenceManager.
- Specified by:
findInPm
in interface TransientTransactional
xGetProxy
public java.lang.Object xGetProxy(java.lang.Object object)
xGetWrappedObject
public java.lang.Object xGetWrappedObject(java.lang.Object object)