|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--theory.smart.foundation.EntityImpl | +--theory.smart.foundation.ConfigurableEntityImpl
This is the implementation of the Configurable Entity that combines the pluggable method features of Business Policy, Runtime Configuration, and Persistence. For each remote interface that is derived from the ConfigurableEntity, there must be an equivalent ConfigurableEntityImpl that mirrors its methods.
ConfigurableEntity
, Serialized FormFields inherited from class theory.smart.foundation.EntityImpl |
ctx,
isDirty,
isLoaded |
Constructor Summary | |
ConfigurableEntityImpl()
|
Method Summary | |
void |
addBusinessPolicy(java.lang.String policyKey,
BusinessPolicy businessPolicy)
Add a BusinessPolicy to this entity. |
void |
addProperty(java.lang.String key,
java.lang.Object property)
Add a property to this Entity; index by key |
void |
ejbActivate()
ejbActivate method. |
SmartKey |
ejbCreate(SmartKey key)
ejbCreate method. |
void |
ejbLoad()
ejbLoad method. |
void |
ejbPassivate()
ejbPassivate method. |
void |
ejbPostCreate(SmartKey key)
|
void |
ejbRemove()
ejbRemove method. |
void |
ejbStore()
ejbStore method. |
BusinessPolicy |
getBusinessPolicy(java.lang.String policyKey)
Retrieve a BusinessPolicy from this entity. |
java.lang.Object |
getProperty(java.lang.String key)
Retrieve the value associated with the string. |
BusinessPolicy |
removeBusinessPolicy(java.lang.String policyKey)
Remove a BusinessPolicy from this entity. |
java.lang.Object |
removeProperty(java.lang.String key)
Remove property from this ConfigurableEntity |
void |
setSuccessorAtClassLevel(ConfigurableEntity successor)
This sets the successor at class level. |
void |
setSuccessorAtInstanceLevel(ConfigurableEntity successor)
This sets the successor at the instance level. |
Methods inherited from class theory.smart.foundation.EntityImpl |
getEntityContext,
isModified,
setEntityContext,
unsetEntityContext |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ConfigurableEntityImpl()
Method Detail |
public final void addBusinessPolicy(java.lang.String policyKey, BusinessPolicy businessPolicy) throws java.rmi.RemoteException
public final void addProperty(java.lang.String key, java.lang.Object property) throws java.rmi.RemoteException
key
- java.lang.Stringproperty
- java.lang.Objectpublic void ejbActivate() throws java.rmi.RemoteException
public SmartKey ejbCreate(SmartKey key) throws javax.ejb.CreateException, java.rmi.RemoteException
public void ejbLoad() throws java.rmi.RemoteException
public void ejbPassivate() throws java.rmi.RemoteException
public void ejbPostCreate(SmartKey key) throws javax.ejb.CreateException, java.rmi.RemoteException
public void ejbRemove() throws java.rmi.RemoteException, javax.ejb.RemoveException
public void ejbStore() throws java.rmi.RemoteException
public final BusinessPolicy getBusinessPolicy(java.lang.String policyKey) throws java.rmi.RemoteException
public final java.lang.Object getProperty(java.lang.String key) throws java.rmi.RemoteException
key
- java.lang.Stringpublic final BusinessPolicy removeBusinessPolicy(java.lang.String policyKey) throws java.rmi.RemoteException
public final java.lang.Object removeProperty(java.lang.String key) throws java.rmi.RemoteException
key
- java.lang.Stringpublic final void setSuccessorAtClassLevel(ConfigurableEntity successor) throws java.rmi.RemoteException
successor
- setSuccessorAtInstanceLevel(theory.smart.foundation.ConfigurableEntity)
public final void setSuccessorAtInstanceLevel(ConfigurableEntity successor) throws java.rmi.RemoteException
successor.
- setSuccessorAtClassLevel(theory.smart.foundation.ConfigurableEntity)
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |