stomp.enhance
Class AbstractServiceProxy
java.lang.Object
|
+--stomp.enhance.AbstractServiceProxy
- All Implemented Interfaces:
- AccessControlled, Persistent, java.io.Serializable, ServiceEnabled, ServiceEnhanced, ServiceProxy, TransientTransactional
- public abstract class AbstractServiceProxy
- extends java.lang.Object
- implements ServiceProxy
serves as the base class for any hierarchy of service enhanced
objects.
- Author:
- Eric Lindauer
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_delegate
protected ServiceDelegate _delegate
AbstractServiceProxy
protected AbstractServiceProxy(ServiceDelegate delegate)
setServiceDelegate
public void setServiceDelegate(ServiceDelegate delegate)
- Description copied from interface:
ServiceProxy
- after this point, methods invoked on the proxy should
be serviced and delegated to the given delegate.
- Specified by:
setServiceDelegate
in interface ServiceProxy
getProxy
public AbstractServiceProxy getProxy()
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
findInPm
public java.lang.Object findInPm(javax.jdo.PersistenceManager pm)
- Specified by:
findInPm
in interface TransientTransactional
getEnhancedServiceDelegate
public ServiceDelegate getEnhancedServiceDelegate()
- Description copied from interface:
ServiceProxy
- returns a non-serviced view of the object this
proxy is wrapping.
- Specified by:
getEnhancedServiceDelegate
in interface ServiceProxy
getServiceLayer
public ServiceEnabled getServiceLayer()
- Description copied from interface:
ServiceEnabled
- returns the service layer view of this object.
- Specified by:
getServiceLayer
in interface ServiceEnabled
setServiceLayer
public void setServiceLayer(ServiceEnabled delegate)
- Specified by:
setServiceLayer
in interface ServiceEnabled
getServiceDelegate
public ServiceEnabled getServiceDelegate()
- Description copied from interface:
ServiceEnabled
- returns the object whose methods are being serviced.
- Specified by:
getServiceDelegate
in interface ServiceEnabled
getReadOnly
public java.lang.Object getReadOnly()
- Specified by:
getReadOnly
in interface AccessControlled
dataChanged
public void dataChanged()
- Description copied from interface:
Persistent
- a hint from the JDOCache that the objects persistent data may have been changed.
objects should respond by deleting rebuilding transient data, etc.
- Specified by:
dataChanged
in interface Persistent
getHcmObjectId
public ObjectId getHcmObjectId()
- Description copied from interface:
Persistent
- returns a JDO object id holder that contains extra information about the type
of this object.
- Specified by:
getHcmObjectId
in interface Persistent