|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.beasys.commerce.foundation.SessionImpl
|
+--com.beasys.commerce.foundation.property.EntityPropertyManagerImpl
|
+--com.beasys.commerce.foundation.property.EntityPropertyAggregatorImpl
This class is used to get and set values from different EntityPropertyManager implementations, based on configuration options.
EntityPropertyManager,
EntityPropertyManagerHome, Serialized Form| Field Summary | |
protected static java.lang.String |
DEFAULT_ENTITY_PROPERTY_MANAGER_HOME
the JNDI home of the jdbc property manager |
protected static java.lang.String |
LDAP_ENTITY_PROPERTY_MANAGER_HOME
the JNDI home of the ldap property manager |
| Fields inherited from class com.beasys.commerce.foundation.property.EntityPropertyManagerImpl |
enableCache, ENTITY_ID_CACHE, ENTITY_PROPERTY_CACHE, PROPERTY_DEFAULT_CACHE |
| Fields inherited from class com.beasys.commerce.foundation.SessionImpl |
_ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty |
| Constructor Summary | |
EntityPropertyAggregatorImpl()
|
|
| Method Summary | |
void |
addPropertyValue(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key,
java.lang.Object value)
Implementation incomplete. |
void |
addPropertyValueMapped(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key,
java.lang.String mapKey,
java.lang.Object value)
Implementation incomplete. |
void |
ejbActivate()
N/A for stateless session bean. |
void |
ejbCreate()
Initializes the sequencers and the DataSource used for obtaining database connections. |
void |
ejbPassivate()
N/A for stateless session bean. |
void |
ejbPostCreate()
ejbPostCreate method. |
void |
ejbRemove()
Does nothing (no resources need to be released). |
java.util.Map |
getProperties(PropertyLocator locator)
Returns a map of PropertyMapKey to Objects |
java.util.Map |
getProperties(PropertyLocator locator,
java.lang.String scopeName)
Returns a map of PropertyMapKey to Objects for all properties set for the entity for the specified scope. |
java.lang.Object |
getProperty(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key)
Returns the value of the property defined for the specified key and scopeName. |
PropertyMetaData |
getPropertyMetaData(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key)
Returns the PropertyMetaData associated with the property specified the schema group name defined in the property locator, the scope name, and the key. |
java.util.Enumeration |
getPropertyMetaDatum(PropertyLocator locator)
|
long |
getUniqueId(java.lang.String homeName,
java.lang.String pkString)
Returns the number that uniquely identifies the entity specified by the home name and the pk string. |
java.lang.Object |
removeProperty(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key)
Removes the property for the entity identified by the locator for the specified scope and key. |
java.lang.Object |
removePropertyValue(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key,
java.lang.Object value)
|
java.lang.Object |
removePropertyValueMapped(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key,
java.lang.String mapKey)
|
void |
setProperties(PropertyLocator locator,
java.util.Map propertyValues)
|
void |
setProperty(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key,
java.lang.Object value)
Associates the property value to the entity identified by the locator for the specified scope and key. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Delegate the setting of the SessionContext to the parent class. |
| Methods inherited from class com.beasys.commerce.foundation.property.EntityPropertyManagerImpl |
cacheAsNull, getCachedEntityId, getCachedPropertyDefault, getCachedValue, getDynamicProperties, getPropertyDefault, getSchemaDefaults, isCachedAsNull, isPropertyDefaultCached, putCachedPropertyDefault, putCachedValue, removeCachedEntityId, removeCachedValue, removeCachedValues, removeProperties, setCachedEntityId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static java.lang.String DEFAULT_ENTITY_PROPERTY_MANAGER_HOME
protected static java.lang.String LDAP_ENTITY_PROPERTY_MANAGER_HOME
| Constructor Detail |
public EntityPropertyAggregatorImpl()
throws javax.ejb.CreateException
| Method Detail |
public void ejbCreate()
throws javax.ejb.CreateException
EntityPropertyManagerImplejbCreate in class EntityPropertyManagerImpl
public void ejbPostCreate()
throws javax.ejb.CreateException
SessionImplejbPostCreate in class SessionImpl
public void ejbActivate()
throws javax.ejb.EJBException
EntityPropertyManagerImplejbActivate in class EntityPropertyManagerImpl
public void ejbPassivate()
throws javax.ejb.EJBException
EntityPropertyManagerImplejbPassivate in class EntityPropertyManagerImpl
public void ejbRemove()
throws javax.ejb.EJBException
EntityPropertyManagerImplejbRemove in class EntityPropertyManagerImpl
public void setSessionContext(javax.ejb.SessionContext ctx)
throws javax.ejb.EJBException
EntityPropertyManagerImplsetSessionContext in class EntityPropertyManagerImpl
public void addPropertyValue(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key,
java.lang.Object value)
throws java.rmi.RemoteException
EntityPropertyManagerImpladdPropertyValue in class EntityPropertyManagerImpl
public void addPropertyValueMapped(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key,
java.lang.String mapKey,
java.lang.Object value)
throws java.rmi.RemoteException
EntityPropertyManagerImpladdPropertyValueMapped in class EntityPropertyManagerImpl
public java.util.Map getProperties(PropertyLocator locator)
throws java.rmi.RemoteException
getProperties in class EntityPropertyManagerImplcom.beasys.commerce.foundation.property.EntityPropertyManagerImpllocator - specifies the JNDIHomeName and Pk string needed to retrieve the entityId.
Also specifies the schemaGroupName that is used to retrieved the type of the property.
public java.util.Map getProperties(PropertyLocator locator,
java.lang.String scopeName)
throws java.rmi.RemoteException
EntityPropertyManagerImplgetProperties in class EntityPropertyManagerImplcom.beasys.commerce.foundation.property.EntityPropertyManagerImpllocator - specifies the JNDIHomeName and Pk string needed to retrieve the entityId.
Also specifies the schemaGroupName that is used to retrieved the type of the property.scopeName - specifies the scopeName in which the properties are defined.
public java.lang.Object getProperty(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key)
throws java.rmi.RemoteException
EntityPropertyManagerImplgetProperty in class EntityPropertyManagerImpl
public PropertyMetaData getPropertyMetaData(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key)
throws java.rmi.RemoteException
EntityPropertyManagerImplgetPropertyMetaData in class EntityPropertyManagerImpl
public java.util.Enumeration getPropertyMetaDatum(PropertyLocator locator)
throws java.rmi.RemoteException
getPropertyMetaDatum in class EntityPropertyManagerImpl
public java.lang.Object removeProperty(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key)
throws java.rmi.RemoteException
EntityPropertyManagerImplremoveProperty in class EntityPropertyManagerImpl
public java.lang.Object removePropertyValue(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key,
java.lang.Object value)
throws java.rmi.RemoteException
removePropertyValue in class EntityPropertyManagerImpl
public java.lang.Object removePropertyValueMapped(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key,
java.lang.String mapKey)
throws java.rmi.RemoteException
removePropertyValueMapped in class EntityPropertyManagerImpl
public void setProperty(PropertyLocator locator,
java.lang.String scopeName,
java.lang.String key,
java.lang.Object value)
throws java.rmi.RemoteException
EntityPropertyManagerImplsetProperty in class EntityPropertyManagerImpl
public void setProperties(PropertyLocator locator,
java.util.Map propertyValues)
throws java.rmi.RemoteException
setProperties in class EntityPropertyManagerImpl
public long getUniqueId(java.lang.String homeName,
java.lang.String pkString)
throws java.rmi.RemoteException
EntityPropertyManagerImplgetUniqueId in class EntityPropertyManagerImpl
|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||