org.openejb.corba.core
Class BeanProfile

java.lang.Object
  |
  +--org.openejb.corba.core.BeanProfile

public class BeanProfile
extends java.lang.Object

This class contains all information about a bean.


Constructor Summary
BeanProfile(DeploymentInfo info, java.lang.Class beanInterface, java.lang.Object primaryKey, HomeProfile home, java.lang.reflect.InvocationHandler handler, org.omg.PortableServer.POA poa, byte[] bean_id)
          Constructor
 
Method Summary
 java.lang.Object deploymentID()
          Return the Deployment ID
 byte[] getBeanID()
          Return the BEAN ID
 byte[] getCorbaID()
          Return the CORBA ID.
 DeploymentInfo getDeploymentInfo()
          Return the deployment info
 HomeProfile getHomeProfile()
          Return the bean's home profile
 java.lang.Object getPrimaryKey()
          Return the bean primary key
 java.lang.reflect.Proxy getProxy()
          Return the home proxy.
 org.omg.CORBA.Object getReference()
          Return the bean reference
 org.omg.PortableServer.Servant getServant()
          Return the home servant.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanProfile

public BeanProfile(DeploymentInfo info,
                   java.lang.Class beanInterface,
                   java.lang.Object primaryKey,
                   HomeProfile home,
                   java.lang.reflect.InvocationHandler handler,
                   org.omg.PortableServer.POA poa,
                   byte[] bean_id)
Constructor
Method Detail

getServant

public org.omg.PortableServer.Servant getServant()
Return the home servant. A servant is a CORBA entity that receives invocation. In our cases

getProxy

public java.lang.reflect.Proxy getProxy()
Return the home proxy.

getReference

public org.omg.CORBA.Object getReference()
Return the bean reference

getPrimaryKey

public java.lang.Object getPrimaryKey()
Return the bean primary key

getHomeProfile

public HomeProfile getHomeProfile()
Return the bean's home profile

deploymentID

public java.lang.Object deploymentID()
Return the Deployment ID

getDeploymentInfo

public DeploymentInfo getDeploymentInfo()
Return the deployment info

getBeanID

public byte[] getBeanID()
Return the BEAN ID

getCorbaID

public byte[] getCorbaID()
Return the CORBA ID.