|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.persistence.impl.DynamicRegistryBeanHandler
public class DynamicRegistryBeanHandler
InvocationHandler
implementation for simple proxies
implementing the BeanInfo
interface.
Constructor Summary | |
---|---|
DynamicRegistryBeanHandler(PersistenceContext pContext,
DynamicRegistryBean pBean)
|
Method Summary | |
---|---|
DynamicRegistryBean |
getBean()
Returns the registry bean. |
PersistenceContext |
getContext()
|
Key |
getKey()
Returns the objects key. |
PersistenceContext |
getPersistenceContext()
Returns the pool, which created this bean. |
java.lang.Object |
invoke(java.lang.Object pProxy,
java.lang.reflect.Method pMethod,
java.lang.Object[] pArgs)
|
boolean |
isCreated()
Returns, whether this is object has already been created in the registry. |
boolean |
isDeleted()
Returns, whether the object is marked as deleted. |
boolean |
isModified()
Returns, whether the object is modified. |
void |
setBean(DynamicRegistryBean pBean)
Sets the registry bean. |
void |
setCreated(boolean created)
Sets, whether the object is created or retrieved from the registry. |
void |
setDeleted(boolean pDeleted)
Sets, whether the object is marked as deleted. |
void |
setModified(boolean pModified)
Sets, whether the object is modified. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicRegistryBeanHandler(PersistenceContext pContext, DynamicRegistryBean pBean)
pContext
- pBean
- Method Detail |
---|
public java.lang.Object invoke(java.lang.Object pProxy, java.lang.reflect.Method pMethod, java.lang.Object[] pArgs) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
public boolean isDeleted()
BeanInfo
isDeleted
in interface BeanInfo
public void setDeleted(boolean pDeleted)
BeanInfo
setDeleted
in interface BeanInfo
public boolean isModified()
BeanInfo
isModified
in interface BeanInfo
public void setModified(boolean pModified)
BeanInfo
setModified
in interface BeanInfo
public boolean isCreated()
BeanInfo
isCreated
in interface BeanInfo
public PersistenceContext getPersistenceContext()
BeanInfo
getPersistenceContext
in interface BeanInfo
public DynamicRegistryBean getBean()
BeanInfo
getBean
in interface BeanInfo
public void setBean(DynamicRegistryBean pBean)
BeanInfo
setBean
in interface BeanInfo
public Key getKey()
BeanInfo
getKey
in interface BeanInfo
public PersistenceContext getContext()
public void setCreated(boolean created)
BeanInfo
setCreated
in interface BeanInfo
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |