public boolean uninstall(String componentId) { this.log.debug("Uninstall component " + componentId); return installationService.forceUnloadInstaller(componentId); } }
@LifeCycle(on = LifeCycleType.STOP) protected void stop() { // TODO : delete all the web services... this.log.debug("Stopping..."); }
@LifeCycle(on = LifeCycleType.STOP) protected void stop() throws IllegalLifeCycleException { this.log.call(); for (String containerName : this.petalsJMXConnections.keySet()) { try { this.log.debug("Try to disconnect JMX connection to container : " + containerName); this.petalsJMXConnections.get(containerName).disconnect(); } catch (ConnectionErrorException e) { this.log.debug(e); } } }
public synchronized InitialContext getInitialContext() throws NamingException { //lazy synchronized on this method this.log.call(); if (this.initialContextDecorator == null) { this.log.debug("Create a new InitialContext decorator"); final Hashtable<String, Object> env = this.getJNDIEnv(); this.log.debug("JNDI properties used : " + env); this.initialContextDecorator = new InitialContextDecorator(env, this.log, this.jndiAgentService); } return this.initialContextDecorator; }
@LifeCycle(on = LifeCycleType.START) protected void start() { this.log = new LoggingUtil(this.logger); this.log.debug("Starting..."); }
@LifeCycle(on = LifeCycleType.START) protected void start() { this.log = new LoggingUtil(this.logger); this.log.debug("Starting..."); }
@LifeCycle(on = LifeCycleType.START) protected void start() { this.log = new LoggingUtil(this.logger); this.log.debug("Starting..."); }
/** * {@inheritDoc} */ public boolean uninstall(String componentId) throws PEtALSWebServiceException { if (this.log.isDebugEnabled()) { this.log.debug("Entering method : uninstall with params componentId = " + componentId); } return this.componentInstallationService.uninstall(componentId); } }
@LifeCycle(on = LifeCycleType.START) protected void start() { this.log = new LoggingUtil(this.logger); this.log.debug("Starting..."); }
@LifeCycle(on = LifeCycleType.START) protected void start() { this.log = new LoggingUtil(this.logger); this.log.debug("Starting..."); }
@LifeCycle(on = LifeCycleType.START) protected void start() { this.log = new LoggingUtil(this.logger); this.log.debug("Starting..."); }
/** * {@inheritDoc} */ public boolean install(URL url) throws PEtALSWebServiceException { if (this.log.isDebugEnabled()) { this.log.debug("Entering method : install with params url = " + url); } return this.componentInstallationService.install(url); }
@Override public void destroyObject(final Object key, final Object obj) throws Exception { final NioClientAgent nioClientAgent = (NioClientAgent) obj; if (this.logger.isLoggable(BasicLevel.DEBUG)) { this.log.debug("The NIO client agent connected to the container '" + key + "' is removed from the pool."); } nioClientAgent.disconnect(); }
@LifeCycle(on = LifeCycleType.START) protected void start() { this.log = new LoggingUtil(this.logger); this.log.debug("Starting..."); }
@LifeCycle(on = LifeCycleType.START) protected void start() { this.log = new LoggingUtil(this.logger); this.log.debug("Starting..."); }
@LifeCycle(on = LifeCycleType.START) protected void start() { this.log = new LoggingUtil(this.logger); this.log.debug("Starting..."); }
@LifeCycle(on = LifeCycleType.START) protected void start() { this.log = new LoggingUtil(this.logger); this.log.debug("Starting..."); this.uploadPath = new File(this.configurationService.getContainerConfiguration() .getWorkDirectoryPath(), "upload"); if (!this.uploadPath.exists()) { this.uploadPath.mkdirs(); } }
@LifeCycle(on = LifeCycleType.STOP) protected void stop() { log.call(); cleanerTimer.cancel(); try { jdbcDataSource.close(); } catch (final SQLException e) { log.debug(e); } }
@LifeCycle(on = LifeCycleType.STOP) public void stop() throws Exception { this.log.start(); this.log.debug("Stopping NIO Server agent."); this.serverSocketChannel.close(); this.log.info("The NIO Server agent is stopped."); this.threadPoolTaskExecutor.shutdownNow(); this.log.end(); }
public void undo(Context context) throws Exception { this.log.debug("Revert DeploySUToComponent"); if ((context.getSuInstallUrl() != null) && (context.getSuDescriptorInSa() != null)) { try { this.undeploySUFromComponent(context.getSuInstallUrl(), context .getSuDescriptorInSa()); } catch (ManagementException e) { this.log.error("Failed to revert a DeploySUToComponentask", e); } } }