Search in sources :

Example 1 with ClientLifeCycleManagerImpl

use of org.apache.cxf.bus.managers.ClientLifeCycleManagerImpl in project meecrowave by apache.

the class ConfigurableBus method addClientLifecycleListener.

public void addClientLifecycleListener() {
    ClientLifeCycleManager manager = getExtension(ClientLifeCycleManager.class);
    if (manager == null) {
        manager = new ClientLifeCycleManagerImpl();
        setExtension(manager, ClientLifeCycleManager.class);
    }
    manager.registerListener(new MeecrowaveClientLifecycleListener());
}
Also used : ClientLifeCycleManagerImpl(org.apache.cxf.bus.managers.ClientLifeCycleManagerImpl) ClientLifeCycleManager(org.apache.cxf.endpoint.ClientLifeCycleManager)

Aggregations

ClientLifeCycleManagerImpl (org.apache.cxf.bus.managers.ClientLifeCycleManagerImpl)1 ClientLifeCycleManager (org.apache.cxf.endpoint.ClientLifeCycleManager)1