|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.toplink.ejb.EJBWrapperPolicy
oracle.toplink.ejb.bmp.BMPWrapperPolicy
public class BMPWrapperPolicy
Purpose: Allow for EntityBean descriptors to store information about the bean properties.
| Constructor Summary | |
|---|---|
BMPWrapperPolicy(java.lang.String homeLookUpName,
java.lang.Class homeInterfaceClass,
java.lang.Class primaryKeyClass,
java.lang.Class interfaceClass,
java.util.Hashtable contextProperties)
This constructor creates a Wrapper policy for a particular bean class |
|
| Method Summary | |
|---|---|
void |
checkForNonCustomPrimaryKey(java.lang.Class primaryKeyClass)
Determine based on the primaryKeyClass whether this is a custom primary key |
java.lang.Object |
lookupWrapperForBean(java.lang.Object bean,
java.lang.Object primaryKeyObject,
oracle.toplink.internal.sessions.AbstractSession session)
Return the remote from the home by primary key. |
java.lang.Object |
wrapObject(java.lang.Object bean,
oracle.toplink.internal.sessions.AbstractSession session)
Wrap the bean with its remote. |
| Methods inherited from class oracle.toplink.ejb.EJBWrapperPolicy |
|---|
getHomeInterface, getHomeName, getPrimaryKeyClass, getRemoteInterface, hasCustomPrimaryKey, isTraversable, setHasCustomPrimaryKey, setHomeInterface, setHomeName, setPrimaryKeyClass, setRemoteInterface, unwrapObject |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BMPWrapperPolicy(java.lang.String homeLookUpName,
java.lang.Class homeInterfaceClass,
java.lang.Class primaryKeyClass,
java.lang.Class interfaceClass,
java.util.Hashtable contextProperties)
throws ValidationException
homeLookUpName - java.lang.StringhomeInterfaceClass - java.lang.StringPrimaryKeyClass - java.lang.ClassinterfaceClass - java.lang.Classproperties - java.util.Hashtable This parameter contains the initial context properties
ValidationException| Method Detail |
|---|
public void checkForNonCustomPrimaryKey(java.lang.Class primaryKeyClass)
public java.lang.Object lookupWrapperForBean(java.lang.Object bean,
java.lang.Object primaryKeyObject,
oracle.toplink.internal.sessions.AbstractSession session)
public java.lang.Object wrapObject(java.lang.Object bean,
oracle.toplink.internal.sessions.AbstractSession session)
session - the session to wrap the object against.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||