|
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.property.SchemaManagerBean
SchemaManager
handles the intricacies of retrieving schemas.
Constructor Summary | |
SchemaManagerBean()
|
Method Summary | |
void |
ejbActivate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbCreate()
Creates the session bean. |
void |
ejbPassivate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbRemove()
This method is required by the EJB Specification, but is not used by this example. |
Schema |
getSchema(java.lang.String schemaName,
java.lang.String schemaGroupName)
Returns a schema given a schema name and a schema group name. |
SchemaHome |
getSchemaHome(java.lang.String schemaGroupName)
Convenience method for returning the appropriate SchemaHome
for a given schema group. |
java.util.Enumeration |
getSchemas(java.lang.String schemaGroupName)
Returns an Enumeration containing all the schemas found
for a particular schema group. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Sets the session context. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SchemaManagerBean()
Method Detail |
public void ejbCreate()
public void ejbActivate()
public void ejbRemove()
public void ejbPassivate()
public final void setSessionContext(javax.ejb.SessionContext ctx)
ctx
- Context for sessionpublic SchemaHome getSchemaHome(java.lang.String schemaGroupName) throws java.rmi.RemoteException, SchemaManagerException
SchemaHome
for a given schema group.schemaGroupName
- the name of the schema groupSchemaHome
for a given schema groupRemoteException
- EJB errorSchemaManagerException
- general errorpublic Schema getSchema(java.lang.String schemaName, java.lang.String schemaGroupName) throws java.rmi.RemoteException, SchemaManagerException
schemaName
- the name of the schema (property set)schemaGroupName
- the name of the schema group in which the schema
existsRemoteException
- EJB errorSchemaManagerException
- general errorpublic java.util.Enumeration getSchemas(java.lang.String schemaGroupName) throws java.rmi.RemoteException, SchemaManagerException
Enumeration
containing all the schemas found
for a particular schema group.schemaGroupName
- the name of the schema group in which the schema
existsEnumeration
containing all the schemas found
for a particular schema groupRemoteException
- EJB errorSchemaManagerException
- general error
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |