|
© 2002 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.ebusiness.catalog.service.CatalogServiceImpl
This is the base service implementation for all Catalog-related services.
It contains common functionality that all Catalog services must implement;
therefore, all Catalog service implementations should extend this class.
The CatalogService
exposes an accessor for retrieving an
associated CatalogManager
.
The returned CatalogManager
implementation service is specified
with the ejb/CatalogManager
environment property.
CatalogService
,
CatalogServiceHome
, Serialized FormField Summary | |
static java.lang.String |
CATALOG_MANAGER_HOME
The Catalog Manager is used to control access to the services for the Product Catalog. |
Fields inherited from class com.beasys.commerce.foundation.SessionImpl |
_ctx,
_environmentNamingContext,
_environmentPropertyCache,
_isDirty |
Constructor Summary | |
CatalogServiceImpl()
|
Method Summary | |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbPostCreate()
|
void |
ejbRemove()
|
CatalogManager |
getCatalogManager()
Returns a instance of the CatalogManager . |
protected java.lang.String |
getCatalogManagerJndiName()
Helper method to retrieve the JNDI name of the Catalog Manager used by this service. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
|
protected void |
validateAuthorization(CatalogRequest request,
int code)
This method validates that the caller's CatalogRequest object has the
credentials to peform the operation in the code argument. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static java.lang.String CATALOG_MANAGER_HOME
Constructor Detail |
public CatalogServiceImpl()
Method Detail |
public void ejbCreate() throws javax.ejb.CreateException
public void ejbPostCreate() throws javax.ejb.CreateException
public void ejbActivate() throws javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.EJBException
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException
public CatalogManager getCatalogManager()
CatalogManager
.
CatalogManager
.protected void validateAuthorization(CatalogRequest request, int code) throws CatalogException
CatalogRequest
object has the
credentials to peform the operation in the code argument. See CatalogRequest
for a list of the available codes.
request
- The CatalogRequest object of the caller.code
- the operation code to be authorized.CatalogRequest
protected java.lang.String getCatalogManagerJndiName()
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |