configuration = new JmsConfiguration(); configuration.setRootDir(this.context.getInstallRoot()); configuration.setComponentName(this.context.getComponentName()); configuration.load();
    protected void doInit() throws Exception {        Object mbean = getExtensionMBean();        if (mbean != null) {            this.mbeanName = createExtensionMBeanName();            MBeanServer server = this.context.getContext().getMBeanServer();            if (server == null) {                throw new JBIException("null mBeanServer");            }            if (server.isRegistered(this.mbeanName)) {                server.unregisterMBean(this.mbeanName);            }            server.registerMBean(mbean, this.mbeanName);        }    }