Methods Summary |
---|
public javax.ejb.EJBHome | getEJBHome()Obtain the home interface of the enterprise Bean.
try
{
return homeHandle.getEJBHome();
}
catch (EJBException e)
{
throw e;
}
catch (RemoteException e)
{
e.printStackTrace();
throw new EJBException(e);
}
|
public java.lang.Class | getHomeInterfaceClass()Obtain the Class object for the enterprise Bean's home interface.
return home;
|
public java.lang.Class | getPrimaryKeyClass()Obtain the Class object for the enterprise Bean's primary key class.
if (session == true)
throw new RuntimeException("A session bean does not have a primary key class");
return pkClass;
|
public java.lang.Class | getRemoteInterfaceClass()Obtain the Class object for the enterprise Bean's remote interface.
return remote;
|
public boolean | isSession()Test if the enterprise Bean's type is "session".
return session;
|
public boolean | isStatelessSession()Test if the enterprise Bean's type is "stateless session".
return statelessSession;
|