/* (non-Javadoc) * @see org.jboss.system.ServiceMBeanSupport#startService() */ @Override protected void startService() throws Exception { super.startService(); if (persistentManagerImpl != null) { Object pm = ServerUtils.loadClass(persistentManagerImpl).newInstance(); ContextUtils.bind(new InitialContext(), PersistentManager.JNDI_NAME, pm); } }
/* (non-Javadoc) * @see org.jboss.system.ServiceMBeanSupport#stopService() */ @Override protected void stopService() throws Exception { ContextUtils.unbind(new InitialContext(), PersistentManager.JNDI_NAME); super.stopService(); }