Methods Summary |
---|
public javax.ejb.EJBHome | getEJBHome()HomeHandle implementation.
try
{
InitialContext ic = null;
if( jndiEnv != null )
ic = new InitialContext(jndiEnv);
else
ic = new InitialContext();
EJBHome home = (EJBHome) ic.lookup(jndiName);
return home;
}
catch (NamingException e)
{
throw new ServerException("Could not get EJBHome", e);
}
|
public java.lang.String | getJNDIName()
return jndiName;
|
private void | readObject(java.io.ObjectInputStream ois)
ObjectInputStream.GetField getField = ois.readFields();
jndiName = (String) getField.get("jndiName", null);
jndiEnv = (Hashtable) getField.get("jndiEnv", null);
|
private void | writeObject(java.io.ObjectOutputStream oos)
ObjectOutputStream.PutField putField = oos.putFields();
putField.put("jndiName", jndiName);
putField.put("jndiEnv", jndiEnv);
oos.writeFields();
|