|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.foundation.SessionImpl
@Deprecated public abstract class SessionImpl
This is the base implementation of the Business Smart Component (BSC) Session interface. For each BSC Session derived interface, there will be a corresponding BSC SessionImpl with business methods that are mirrored. It also provides storage for an SessionContext and an implementation of the Set and Get Session Context methods.
Session Beans also implement the SmartUpdate API. See the EntityImpl
comments for more details. Although SmartUpdate is intended primarily
for BMP, Session Beans may find it useful as well.
,
Serialized FormField Summary | |
---|---|
javax.ejb.SessionContext |
_ctx
Deprecated |
protected Context |
_environmentNamingContext
Deprecated |
protected Hashtable |
_environmentPropertyCache
Deprecated |
protected boolean |
_isDirty
Deprecated |
Constructor Summary | |
---|---|
SessionImpl()
Deprecated SessionImpl constructor. |
Method Summary | |
---|---|
void |
clearRelationalBinding(String attributeIdentifier,
Collection collection)
Deprecated |
void |
clearRelationalBinding(String attributeIdentifier,
Collection collection,
Object o)
Deprecated |
void |
clearRelationalBinding(String attributeIdentifier,
Map map)
Deprecated |
void |
clearRelationalBinding(String attributeIdentifier,
Map map,
Object key)
Deprecated |
protected Collection |
doRelationalBinding(String attributeIdentifier,
Collection collection)
Deprecated Add relational information to each element in a collection, AND synchronize the collection with the persistence cache This feature is implemented by a plugin and by default is turned off |
protected Map |
doRelationalBinding(String attributeIdentifier,
Map map)
Deprecated Add relational information to each element in a map, AND synchronize the map with the persistence cache This feature is implemented by a plugin and by default is turned off |
protected Belonging |
doRelationalBindingOnElement(String attributeIdentifier,
Belonging value)
Deprecated Add relational information to a belonging This feature is implemented by a plugin and by default is turned off |
protected javax.ejb.EJBObject |
doRelationalBindingOnElement(String attributeIdentifier,
javax.ejb.EJBObject value)
Deprecated Add relational information to an EJBObject This feature is implemented by a plugin and by default is turned off |
protected Object |
doRelationalBindingOnElement(String attributeIdentifier,
Object value)
Deprecated Add relational information to a dependent object. |
protected Belonging |
doRelationalBindingOnSingleton(String attributeIdentifier,
Belonging value)
Deprecated Add relational information to a belonging This feature is implemented by a plugin and by default is turned off |
protected javax.ejb.EJBObject |
doRelationalBindingOnSingleton(String attributeIdentifier,
javax.ejb.EJBObject ejbObject)
Deprecated Add relational information to an EJBObject This feature is implemented by a plugin and by default is turned off |
protected Object |
doRelationalBindingOnSingleton(String attributeIdentifier,
Object value)
Deprecated Add relational information to a dependent object. |
protected Object |
doRelationalBindingWithMapKey(String attributeIdentifier,
Belonging belonging,
Object key)
Deprecated Add relational information to an element in a map, AND synchronize the element with the persistence cache This feature is implemented by a plugin and by default is turned off |
protected javax.ejb.EJBObject |
doRelationalBindingWithMapKey(String attributeIdentifier,
javax.ejb.EJBObject ejbObject,
Object key)
Deprecated Add relational information to an element in a map, AND synchronize the element with the persistence cache This feature is implemented by a plugin and by default is turned off |
protected Object |
doRelationalBindingWithMapKey(String attributeIdentifier,
Object object,
Object key)
Deprecated Add relational information to an element in a map, AND synchronize the element with the persistence cache This feature is implemented by a plugin and by default is turned off |
void |
ejbActivate()
Deprecated ejbActivate method. |
void |
ejbCreate()
Deprecated ejbCreate method. |
void |
ejbPassivate()
Deprecated ejbPassivate method. |
void |
ejbPostCreate()
Deprecated ejbPostCreate method. |
void |
ejbRemove()
Deprecated ejbRemove method. |
protected Collection |
enumerateRelationalBinding(String attributeIdentifier,
Collection collection)
Deprecated Add relational information to each element in a collection, but do not synchronize the collection with the persistence cache This feature is implemented by a plugin and by default is turned off |
protected Map |
enumerateRelationalBinding(String attributeIdentifier,
Map map)
Deprecated Add relational information to each element in a map, but do not synchronize the map with the persistence cache This feature is implemented by a plugin and by default is turned off |
protected Context |
getEnvironmentNamingContext()
Deprecated Returns the bean's environment naming context. |
Object |
getEnvironmentProperty(String propertyName)
Deprecated This method returns the value of the specified environment property. |
Object |
getEnvironmentProperty(String propertyName,
Object defaultValue)
Deprecated This method returns the value of the specified environment property or the specified default value if the environment property is not found. |
protected Hashtable |
getEnvironmentPropertyCache()
Deprecated Returns the bean's environment property cache |
PersistenceHelperPlugin |
getPersistenceHelperPlugin()
Deprecated Instantiates PersistenceHelperPlugin based on "...PersistenceHelperPlugin" property in commerce.properties file. |
javax.ejb.SessionContext |
getSessionContext()
Deprecated getSessionContext method. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Deprecated setSessionContext method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient boolean _isDirty
public javax.ejb.SessionContext _ctx
protected transient Context _environmentNamingContext
protected transient Hashtable _environmentPropertyCache
Constructor Detail |
---|
public SessionImpl()
Method Detail |
---|
public void ejbActivate() throws javax.ejb.EJBException
ejbActivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
public void ejbCreate() throws javax.ejb.CreateException, javax.ejb.EJBException
javax.ejb.CreateException
javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
ejbPassivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
public void ejbPostCreate() throws javax.ejb.CreateException, javax.ejb.EJBException
javax.ejb.CreateException
javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.EJBException
ejbRemove
in interface javax.ejb.SessionBean
javax.ejb.EJBException
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException
setSessionContext
in interface javax.ejb.SessionBean
javax.ejb.EJBException
public javax.ejb.SessionContext getSessionContext()
protected Context getEnvironmentNamingContext() throws NamingException
NamingException
- - if a naming exception is encounteredprotected Hashtable getEnvironmentPropertyCache()
public Object getEnvironmentProperty(String propertyName) throws NamingException
NamingException
- - if a naming exception is encounteredpublic Object getEnvironmentProperty(String propertyName, Object defaultValue) throws NamingException
NamingException
- - if a naming exception is encounteredprotected Object doRelationalBindingOnElement(String attributeIdentifier, Object value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersvalue
- instance of a dependent objectentityImpl
- implementation of an entity bean
protected Belonging doRelationalBindingOnElement(String attributeIdentifier, Belonging value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersbelonging
- instance of a belongingentityImpl
- implementation of an entity bean
protected javax.ejb.EJBObject doRelationalBindingOnElement(String attributeIdentifier, javax.ejb.EJBObject value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersejbObject
- instance of an EJB objectentityImpl
- implementation of an entity bean
protected Object doRelationalBindingOnSingleton(String attributeIdentifier, Object value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersvalue
- instance of a dependent objectentityImpl
- implementation of an entity bean
protected Belonging doRelationalBindingOnSingleton(String attributeIdentifier, Belonging value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersbelonging
- instance of a belongingentityImpl
- implementation of an entity bean
protected javax.ejb.EJBObject doRelationalBindingOnSingleton(String attributeIdentifier, javax.ejb.EJBObject ejbObject)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersejbObject
- instance of an EJB objectentityImpl
- implementation of an entity bean
protected Object doRelationalBindingWithMapKey(String attributeIdentifier, Object object, Object key)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected javax.ejb.EJBObject doRelationalBindingWithMapKey(String attributeIdentifier, javax.ejb.EJBObject ejbObject, Object key)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected Object doRelationalBindingWithMapKey(String attributeIdentifier, Belonging belonging, Object key)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected Collection doRelationalBinding(String attributeIdentifier, Collection collection)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected Map doRelationalBinding(String attributeIdentifier, Map map)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersmap
- the target map
protected Collection enumerateRelationalBinding(String attributeIdentifier, Collection collection)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected Map enumerateRelationalBinding(String attributeIdentifier, Map map)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersmap
- the target map
public void clearRelationalBinding(String attributeIdentifier, Collection collection)
public void clearRelationalBinding(String attributeIdentifier, Collection collection, Object o)
public void clearRelationalBinding(String attributeIdentifier, Map map, Object key)
public void clearRelationalBinding(String attributeIdentifier, Map map)
public PersistenceHelperPlugin getPersistenceHelperPlugin()
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |