/** * Creates the work directories. * @throws JBIException */ protected void createWorkDirectories() throws JBIException { final File modules = new File( this.installContext.getInstallRoot(), MODULES_PATH ); final File services = new File( this.installContext.getInstallRoot(), SERVICES_PATH ); if(( ! modules.exists() && ! modules.mkdirs()) || ( ! services.exists() && ! services.mkdirs())) throw new JBIException( "Could not create work directories." ); } }
final File installRootFile = new File( this.installContext.getInstallRoot()); final File destFile = new File( this.installContext.getInstallRoot(), file.getName()); if( ! destFile.exists()) { try {
final File installRootFile = new File(getInstallContext().getInstallRoot());
protected void doInit() throws Exception { configuration = new JmsConfiguration(); configuration.setRootDir(this.context.getInstallRoot()); configuration.setComponentName(this.context.getComponentName()); configuration.load(); Object mbean = getExtensionMBean(); if (mbean != null) { this.mbeanName = MBeanServerHelper.register(getMBeanServer(), createExtensionMBeanName(), mbean); } }
protected void doInit() throws Exception { configuration = new HttpConfiguration(); configuration.setRootDir(this.context.getInstallRoot()); configuration.setComponentName(this.context.getComponentName()); configuration.load(); ObjectName name = this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap"); this.mbeanName = MBeanServerHelper.register(getMBeanServer(), name, configuration); }