public EJBHome getEJBHome(ProxyInfo proxyInfo) {
try {
RefGenerator refGenerator = AdapterWrapper.getRefGenerator((String) proxyInfo.getBeanContext().getDeploymentID());
org.omg.CORBA.Object home = refGenerator.genHomeReference();
EJBHome ejbHome = (EJBHome) PortableRemoteObject.narrow(home, EJBHome.class);
return ejbHome;
} catch (Throwable e) {
throw (org.omg.CORBA.MARSHAL)new org.omg.CORBA.MARSHAL(e.getClass().getName() + " thrown while marshaling the reply: " + e.getMessage(), 0, org.omg.CORBA.CompletionStatus.COMPLETED_YES).initCause(e);
}
}