|
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.axiom.reasoning.rules.service.RulesetDataBean
Implements entity bean for storing xml rulesheets
Field Summary | |
static java.lang.String |
CONNECTION_POOL_LOOKUP_NAME
The name used to lookup the connection pool |
javax.ejb.EntityContext |
context
EJB context |
java.lang.String |
name
The ruleset name |
static java.lang.String |
ROOT_CONTEXT_LOOKUP_NAME
The name used to lookup the root context |
byte[] |
rulesetData
The actual ruleset data |
static java.lang.String |
SQL_SELECT_RULESET_DATA
The sql used to get the ruleset data from the database |
Constructor Summary | |
RulesetDataBean()
Constructor |
Method Summary | |
void |
ejbActivate()
Activate |
RulesetDataPK |
ejbCreate()
Create |
RulesetDataPK |
ejbFindByPrimaryKey(RulesetDataPK primaryKey)
Find by primary key |
void |
ejbLoad()
Load |
void |
ejbPassivate()
Passivate |
void |
ejbPostCreate()
Post create |
void |
ejbRemove()
Remove |
void |
ejbStore()
Store |
java.sql.Connection |
getConnection()
Get connection. |
byte[] |
getData()
Gets the ruleset data |
void |
refresh(RulesetDataPK primaryKey)
Refreshes the bean's data |
void |
setEntityContext(javax.ejb.EntityContext context)
Sets the entity context |
void |
unsetEntityContext()
Unsets the entity context |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String CONNECTION_POOL_LOOKUP_NAME
public static final java.lang.String ROOT_CONTEXT_LOOKUP_NAME
public static final java.lang.String SQL_SELECT_RULESET_DATA
public java.lang.String name
public byte[] rulesetData
public javax.ejb.EntityContext context
Constructor Detail |
public RulesetDataBean()
Method Detail |
public void ejbActivate() throws java.rmi.RemoteException
public RulesetDataPK ejbCreate()
public RulesetDataPK ejbFindByPrimaryKey(RulesetDataPK primaryKey) throws javax.ejb.FinderException
primaryKey
- The primary keypublic void ejbLoad() throws java.rmi.RemoteException
public void ejbPassivate()
public void ejbPostCreate()
public void ejbRemove()
public void ejbStore()
public byte[] getData() throws RulesServiceException
public void setEntityContext(javax.ejb.EntityContext context)
context
- The entity context.public void unsetEntityContext()
public java.sql.Connection getConnection() throws java.sql.SQLException
Connection
SQLException
- public void refresh(RulesetDataPK primaryKey) throws javax.ejb.FinderException
primaryKey
- The primary key
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |