private ContentManager getContentManager() throws Exception { ContentManagerHome home = (ContentManagerHome) EJBHomeFactory.getFactory() .lookup(ContentManagerHome.class, ContentManagerHome.JNDI_NAME); return home.create(); }
private FixPatientAttributes newFixPatientAttributes() { try { FixPatientAttributesHome home = (FixPatientAttributesHome) EJBHomeFactory.getFactory() .lookup(FixPatientAttributesHome.class, FixPatientAttributesHome.JNDI_NAME); return home.create(); } catch (Exception e) { throw new RuntimeException("Failed to access FixPatientAttributes EJB:", e); } }
protected FileSystemMgt2 newFileSystemMgt() throws Exception { return ((FileSystemMgt2Home) EJBHomeFactory.getFactory() .lookup(FileSystemMgt2Home.class, FileSystemMgt2Home.JNDI_NAME)) .create(); }
private GPWLManager getGPWLManager() throws CreateException, RemoteException, HomeFactoryException { return ((GPWLManagerHome) EJBHomeFactory.getFactory().lookup(GPWLManagerHome.class, GPWLManagerHome.JNDI_NAME)) .create(); }
private StudyMgtHome getStudyMgtHome() throws HomeFactoryException { return (StudyMgtHome) EJBHomeFactory.getFactory().lookup(StudyMgtHome.class, StudyMgtHome.JNDI_NAME); }
Storage getStorage() throws RemoteException, CreateException, HomeFactoryException { return ((StorageHome) EJBHomeFactory.getFactory().lookup(StorageHome.class, StorageHome.JNDI_NAME)) .create(); }