com.opensymphony.module.propertyset.ejb
Class PropertyStoreEJB
java.lang.Object
|
+--com.opensymphony.module.propertyset.ejb.PropertyStoreEJB
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean
- Direct Known Subclasses:
- PropertyStoreSession
- public class PropertyStoreEJB
- extends java.lang.Object
- implements javax.ejb.SessionBean
Session bean implementation of PropertyStore.
Makes use of ValueEntityDelegator to determine which entity beans to use for
appropriate types.
- Version:
- $Revision: 1.29 $
- Author:
- Joe Walnes
- See Also:
PropertyStore
,
PropertyStoreHome
, Serialized Form
Method Summary |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
boolean |
exists(java.lang.String entityName,
long entityId,
java.lang.String key)
|
java.io.Serializable |
get(java.lang.String entityName,
long entityId,
int type,
java.lang.String key)
|
java.util.Collection |
getKeys(java.lang.String entityName,
long entityId,
java.lang.String prefix,
int type)
|
int |
getType(java.lang.String entityName,
long entityId,
java.lang.String key)
|
void |
remove(java.lang.String entityName,
long entityId,
java.lang.String key)
|
void |
set(java.lang.String entityName,
long entityId,
int type,
java.lang.String key,
java.io.Serializable value)
|
void |
setSessionContext(javax.ejb.SessionContext ctx)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyStoreEJB
public PropertyStoreEJB()
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove
in interface javax.ejb.SessionBean
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate
in interface javax.ejb.SessionBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate
in interface javax.ejb.SessionBean
ejbCreate
public void ejbCreate()
throws javax.ejb.CreateException
setSessionContext
public void setSessionContext(javax.ejb.SessionContext ctx)
- Specified by:
setSessionContext
in interface javax.ejb.SessionBean
get
public java.io.Serializable get(java.lang.String entityName,
long entityId,
int type,
java.lang.String key)
throws java.rmi.RemoteException
set
public void set(java.lang.String entityName,
long entityId,
int type,
java.lang.String key,
java.io.Serializable value)
throws java.rmi.RemoteException
exists
public boolean exists(java.lang.String entityName,
long entityId,
java.lang.String key)
throws java.rmi.RemoteException
remove
public void remove(java.lang.String entityName,
long entityId,
java.lang.String key)
throws java.rmi.RemoteException
getType
public int getType(java.lang.String entityName,
long entityId,
java.lang.String key)
throws java.rmi.RemoteException
getKeys
public java.util.Collection getKeys(java.lang.String entityName,
long entityId,
java.lang.String prefix,
int type)
throws java.rmi.RemoteException