Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.ejb.cmp.was
Class WSWrapperPolicy

java.lang.Object
  extended byoracle.toplink.ejb.EJBWrapperPolicy
      extended byoracle.toplink.ejb.cmp.was.WSWrapperPolicy

All Implemented Interfaces:
java.io.Serializable, WrapperPolicy

public class WSWrapperPolicy
extends EJBWrapperPolicy

Purpose: Implement the Websphere EJB entity bean CMP wrap and unwrap APIs. Description: This class is used to support relationships by wrapping the bean in the remote and vise versa. Responsibilities:

See Also:
Serialized Form

Field Summary

Fields inherited from interface oracle.toplink.descriptors.WrapperPolicy
Wrapping

Constructor Summary
WSWrapperPolicy()

Method Summary
java.lang.Object wrapObject(java.lang.Object bean, oracle.toplink.publicinterface.Session session)
Wrap the bean to 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

WSWrapperPolicy

public WSWrapperPolicy()

Method Detail

wrapObject

public java.lang.Object wrapObject(java.lang.Object bean,
                                   oracle.toplink.publicinterface.Session session)
Wrap the bean to with its remote.
Parameters:
session - the session to wrap the object against.
Returns:
java.lang.Object the wrapped object

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.