cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soltysik, Seumas" <Seumas.Solty...@iona.com>
Subject Unused parameter in CXFBusImpl.shutdown(boolean wait)
Date Wed, 20 Jun 2007 22:10:22 GMT
Currently CXFBusImpl.shutdown(boolean wait) takes an unused wait parameter. Is there any intent
to make use of this parameter? If not, it should be removed.
Regards,
Seumas

    public void shutdown(boolean wait) {
        lifeCycleManager = this.getExtension(BusLifeCycleManager.class);
        if (null != lifeCycleManager) {
            lifeCycleManager.preShutdown();
        }
        synchronized (this) {
            state = BusState.SHUTDOWN;
            notifyAll();
        }
        if (null != lifeCycleManager) {
            lifeCycleManager.postShutdown();
        }
        if (BusFactory.getDefaultBus(false) == this) { 
            BusFactory.setDefaultBus(null);
        }
    }

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message