/** * Create the MBeans for MBeanFactory. * * @param factory MBeanFactory for which to create MBean * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(MBeanFactory factory) throws Exception { // Create the MBean for the MBeanFactory if (log.isDebugEnabled()) log.debug("Creating MBean for MBeanFactory " + factory); MBeanUtils.createMBean(factory); }
/** * Create the MBeans for the specified ContextResourceLink entry. * * @param resourceLink ContextResourceLink for which to create MBeans * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(ContextResourceLink resourceLink) throws Exception { // Create the MBean for the ContextResourceLink itself if (log.isDebugEnabled()) { log.debug("Creating MBean for ContextResourceLink " + resourceLink); } MBeanUtils.createMBean(resourceLink); }
/** * Create the MBeans for the specified ContextEnvironment entry. * * @param environment ContextEnvironment for which to create MBeans * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(ContextEnvironment environment) throws Exception { // Create the MBean for the ContextEnvironment itself if (log.isDebugEnabled()) { log.debug("Creating MBean for ContextEnvironment " + environment); } MBeanUtils.createMBean(environment); }
/** * Create the MBeans for the specified ContextResource entry. * * @param resource ContextResource for which to create MBeans * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(ContextResource resource) throws Exception { // Create the MBean for the ContextResource itself if (log.isDebugEnabled()) { log.debug("Creating MBean for ContextResource " + resource); } MBeanUtils.createMBean(resource); }
/** * Create a new Role and return the corresponding MBean Name. * * @param rolename Group name of the new group * @param description Description of the new group * @return the new role object name */ public String createRole(String rolename, String description) { UserDatabase database = (UserDatabase) this.resource; Role role = database.createRole(rolename, description); try { MBeanUtils.createMBean(role); } catch (Exception e) { IllegalArgumentException iae = new IllegalArgumentException( "Exception creating role [" + rolename + "] MBean"); iae.initCause(e); throw iae; } return findRole(rolename); }
/** * Create a new Group and return the corresponding MBean Name. * * @param groupname Group name of the new group * @param description Description of the new group */ public String createGroup(String groupname, String description) { UserDatabase database = (UserDatabase) this.resource; Group group = database.createGroup(groupname, description); try { MBeanUtils.createMBean(group); } catch (Exception e) { IllegalArgumentException iae = new IllegalArgumentException ("Exception creating group [" + groupname + "] MBean"); iae.initCause(e); throw iae; } return (findGroup(groupname)); }
/** * Create a new Group and return the corresponding MBean Name. * * @param groupname Group name of the new group * @param description Description of the new group * @return the new group object name */ public String createGroup(String groupname, String description) { UserDatabase database = (UserDatabase) this.resource; Group group = database.createGroup(groupname, description); try { MBeanUtils.createMBean(group); } catch (Exception e) { IllegalArgumentException iae = new IllegalArgumentException( "Exception creating group [" + groupname + "] MBean"); iae.initCause(e); throw iae; } return findGroup(groupname); }
/** * Create a new Role and return the corresponding MBean Name. * * @param rolename Group name of the new group * @param description Description of the new group */ public String createRole(String rolename, String description) { UserDatabase database = (UserDatabase) this.resource; Role role = database.createRole(rolename, description); try { MBeanUtils.createMBean(role); } catch (Exception e) { IllegalArgumentException iae = new IllegalArgumentException ("Exception creating role [" + rolename + "] MBean"); iae.initCause(e); throw iae; } return (findRole(rolename)); }
/** * Create the MBeans for MBeanFactory. * * @param factory MBeanFactory for which to create MBean * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(MBeanFactory factory) throws Exception { // Create the MBean for the MBeanFactory if (log.isDebugEnabled()) log.debug("Creating MBean for MBeanFactory " + factory); MBeanUtils.createMBean(factory); }
/** * Create the MBeans for MBeanFactory. * * @param factory MBeanFactory for which to create MBean * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(MBeanFactory factory) throws Exception { // Create the MBean for the MBeanFactory if (log.isDebugEnabled()) log.debug("Creating MBean for MBeanFactory " + factory); MBeanUtils.createMBean(factory); }
/** * Create the MBeans for MBeanFactory. * * @param factory MBeanFactory for which to create MBean * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(MBeanFactory factory) throws Exception { // Create the MBean for the MBeanFactory if (log.isDebugEnabled()) log.debug("Creating MBean for MBeanFactory " + factory); MBeanUtils.createMBean(factory); }
/** * Create the MBeans for the specified ContextEnvironment entry. * * @param environment ContextEnvironment for which to create MBeans * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(ContextEnvironment environment) throws Exception { // Create the MBean for the ContextEnvironment itself if (log.isDebugEnabled()) { log.debug("Creating MBean for ContextEnvironment " + environment); } MBeanUtils.createMBean(environment); }
/** * Create the MBeans for the specified ContextResource entry. * * @param resource ContextResource for which to create MBeans * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(ContextResource resource) throws Exception { // Create the MBean for the ContextResource itself if (log.isDebugEnabled()) { log.debug("Creating MBean for ContextResource " + resource); } MBeanUtils.createMBean(resource); }
/** * Create the MBeans for the specified ContextEnvironment entry. * * @param environment ContextEnvironment for which to create MBeans * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(ContextEnvironment environment) throws Exception { // Create the MBean for the ContextEnvironment itself if (log.isDebugEnabled()) { log.debug("Creating MBean for ContextEnvironment " + environment); } MBeanUtils.createMBean(environment); }
/** * Create the MBeans for the specified ContextResourceLink entry. * * @param resourceLink ContextResourceLink for which to create MBeans * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(ContextResourceLink resourceLink) throws Exception { // Create the MBean for the ContextResourceLink itself if (log.isDebugEnabled()) { log.debug("Creating MBean for ContextResourceLink " + resourceLink); } MBeanUtils.createMBean(resourceLink); }
/** * Create the MBeans for the specified ContextResource entry. * * @param resource ContextResource for which to create MBeans * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(ContextResource resource) throws Exception { // Create the MBean for the ContextResource itself if (log.isDebugEnabled()) { log.debug("Creating MBean for ContextResource " + resource); } MBeanUtils.createMBean(resource); }
/** * Create the MBeans for the specified ContextResourceLink entry. * * @param resourceLink ContextResourceLink for which to create MBeans * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(ContextResourceLink resourceLink) throws Exception { // Create the MBean for the ContextResourceLink itself if (log.isDebugEnabled()) { log.debug("Creating MBean for ContextResourceLink " + resourceLink); } MBeanUtils.createMBean(resourceLink); }
/** * Create the MBeans for the specified ContextEnvironment entry. * * @param environment ContextEnvironment for which to create MBeans * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(ContextEnvironment environment) throws Exception { // Create the MBean for the ContextEnvironment itself if (log.isDebugEnabled()) { log.debug("Creating MBean for ContextEnvironment " + environment); } MBeanUtils.createMBean(environment); }
/** * Create the MBeans for the specified ContextResource entry. * * @param resource ContextResource for which to create MBeans * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(ContextResource resource) throws Exception { // Create the MBean for the ContextResource itself if (log.isDebugEnabled()) { log.debug("Creating MBean for ContextResource " + resource); } MBeanUtils.createMBean(resource); }
/** * Create the MBeans for the specified ContextResourceLink entry. * * @param resourceLink ContextResourceLink for which to create MBeans * * @exception Exception if an exception is thrown during MBean creation */ protected void createMBeans(ContextResourceLink resourceLink) throws Exception { // Create the MBean for the ContextResourceLink itself if (log.isDebugEnabled()) { log.debug("Creating MBean for ContextResourceLink " + resourceLink); } MBeanUtils.createMBean(resourceLink); }