private void releaseWagon( String protocol, Wagon wagon ) { try { container.release( wagon ); } catch ( ComponentLifecycleException e ) { logger.error( "Problem releasing wagon - ignoring: " + e.getMessage() ); logger.debug( "", e ); } }
public void releaseMojo( Object mojo, MojoExecution mojoExecution ) { if ( mojo != null ) { try { container.release( mojo ); } catch ( ComponentLifecycleException e ) { String goalExecId = mojoExecution.getGoal(); if ( mojoExecution.getExecutionId() != null ) { goalExecId += " {execution: " + mojoExecution.getExecutionId() + "}"; } logger.debug( "Error releasing mojo for " + goalExecId, e ); } } }
container.release( configurator );
public void release( Object component ) throws ComponentLifecycleException { container.release( component ); }
protected void release( Object component ) throws Exception { getContainer().release( component ); }
protected void release( Object component ) throws Exception { getContainer().release( component ); }
private void release(Object component) { try { if (component != null) { container.release(component); } } catch (ComponentLifecycleException e) { // ignore } }
public void release( Object component ) throws ComponentLifecycleException { container.release( component ); }
public void release( final Object component ) throws ComponentLifecycleException { container.release( component ); }
public void release(Object component) throws ComponentLifecycleException { core.release(component); }
public void release(Object component) throws ComponentLifecycleException { core.release(component); }
public void release( Wagon wagon ) { try { if ( wagon != null ) { container.release( wagon ); } } catch ( Exception e ) { // too bad } }
public void release( Wagon wagon ) { try { if ( wagon != null ) { container.release( wagon ); } } catch ( Exception e ) { // too bad } }
public void release( Wagon wagon ) { try { if ( wagon != null ) { container.release( wagon ); } } catch ( Exception e ) { // too bad } }
protected void release( Object component ) throws Exception { getContainer().release( component ); }
protected void releaseArtifactRepositoryFactory( ArtifactRepositoryFactory repositoryFactory ) { try { getContainer().release( repositoryFactory ); } catch ( ComponentLifecycleException e ) { // TODO: Warn the user, or not? } }
protected final void release( final Object component ) throws ComponentLifecycleException { getContainer().release( component ); }
/** * {@inheritDoc} * * @see org.xwiki.component.manager.ComponentManager#release(java.lang.Object) */ public <T> void release(T component) throws ComponentLifecycleException { try { this.plexusContainer.release(component); } catch (org.codehaus.plexus.component.repository.exception.ComponentLifecycleException e) { throw new ComponentLifecycleException("Failed to release component [" + component + "]", e); } }
public static void release( ServletContext servletContext, Object service ) throws ServletException { try { getPlexusContainer( servletContext ).release( service ); } catch ( Exception e ) { e.printStackTrace(); throw new ServletException( "Exception while releasing component", e ); } } }
private void releaseWagon( String protocol, Wagon wagon, String repositoryId ) { String hint = getWagonHint( protocol, repositoryId ); PlexusContainer container = getWagonContainer( hint ); try { container.release( wagon ); } catch ( ComponentLifecycleException e ) { getLogger().error( "Problem releasing wagon - ignoring: " + e.getMessage() ); } }