|
Copyright © 2000, 2008, 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 com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl com.beasys.commerce.ebusiness.catalog.service.JdbcCatalogServiceImpl
@Deprecated public class JdbcCatalogServiceImpl
This is the base service implementation for all JDBC-based Catalog services.
It contains common functionality that all JDBC-based Catalog services must
implement; therefore, all JDBC-based Catalog service implementations should
extend this class.
The JdbcCatalogService
depends upon several environment variables
to dictate its runtime behavior:
jdbc/commercePool
environment property.
SchemaFile
environment variable.
SqlManagerClass
environment variable.
JdbcCatalogService
,
JdbcCatalogServiceHome
,
CatalogSqlManager
,
Serialized FormField Summary | |
---|---|
protected static String |
DATA_SOURCE_NAME
Deprecated The environment property that specifies JDBC pool that all JDBC services will access. |
protected static String |
SCHEMA_FILE_NAME
Deprecated The environment property that specifies the schema file that all JDBC services will utilize. |
protected static String |
SQL_MANAGER_CLASS
Deprecated The environment property that specifies the SQL manager class that all JDBC service will utilize. |
Fields inherited from class com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl |
---|
CATALOG_MANAGER_HOME, CATALOG_QUERY_DELEGATE, CATEGORY_DELEGATE, CUSTOM_DATA_DELEGATE, PRODUCT_ITEM_DELEGATE |
Fields inherited from class com.beasys.commerce.foundation.SessionImpl |
---|
_ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty |
Constructor Summary | |
---|---|
JdbcCatalogServiceImpl()
Deprecated |
Method Summary | |
---|---|
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 String |
getCatalogSchemaName()
Deprecated Returns the name of the Catalog schema file. |
protected CatalogSqlManager |
getCatalogSqlManager()
Deprecated Returns an instance of the Catalog SQL manager assoicated with this service. |
protected static CatalogSqlManager |
getCatalogSqlManager(String catalogManagerClassName,
String schemaName)
Deprecated Returns a specified CatalogSqlManager implementation class instance. |
protected String |
getCatalogSqlManagerName()
Deprecated Returns the class name of the SQL manager associated with this service. |
protected Connection |
getDatabaseConnection()
Deprecated Gets a database connection from the Commerce Server connection pool. |
protected JdbcCatalogFactory |
getJdbcCatalogFactory()
Deprecated Returns a JDBC-based Catalog factory. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Deprecated setSessionContext method. |
Methods inherited from class com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl |
---|
getCatalogManager, getCatalogManagerJndiName, getConfigBean, setDelegateName, validateAuthorization |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String DATA_SOURCE_NAME
protected static final String SCHEMA_FILE_NAME
protected static final String SQL_MANAGER_CLASS
Constructor Detail |
---|
public JdbcCatalogServiceImpl()
Method Detail |
---|
public void ejbCreate() throws javax.ejb.CreateException
SessionImpl
ejbCreate
in class CatalogServiceImpl
javax.ejb.CreateException
public void ejbPostCreate() throws javax.ejb.CreateException
SessionImpl
ejbPostCreate
in class CatalogServiceImpl
javax.ejb.CreateException
public void ejbActivate() throws javax.ejb.EJBException
SessionImpl
ejbActivate
in interface javax.ejb.SessionBean
ejbActivate
in class CatalogServiceImpl
javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
SessionImpl
ejbPassivate
in interface javax.ejb.SessionBean
ejbPassivate
in class CatalogServiceImpl
javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.EJBException
SessionImpl
ejbRemove
in interface javax.ejb.SessionBean
ejbRemove
in class CatalogServiceImpl
javax.ejb.EJBException
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException
SessionImpl
setSessionContext
in interface javax.ejb.SessionBean
setSessionContext
in class CatalogServiceImpl
javax.ejb.EJBException
protected Connection getDatabaseConnection() throws CatalogDeploymentException
CatalogDeploymentException
- if the connection pool is misconfigured.protected JdbcCatalogFactory getJdbcCatalogFactory() throws SystemException
SystemException
protected String getCatalogSqlManagerName() throws SystemException
SystemException
protected String getCatalogSchemaName() throws SystemException
SystemException
protected CatalogSqlManager getCatalogSqlManager() throws SystemException
SystemException
protected static CatalogSqlManager getCatalogSqlManager(String catalogManagerClassName, String schemaName) throws SystemException
CatalogSqlManager
implementation class instance.
catalogManagerClassName
- The name of the CatalogSqlManager
implementation class.
SystemException
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |