Package org.rioproject.monitor.service.channel

Examples of org.rioproject.monitor.service.channel.ServiceChannel.unsubscribe()


        boolean update = (this.svcElement != null);
        ServiceElement preElem = svcElement;
        this.svcElement = newElem;

        ServiceChannel channel = ServiceChannel.getInstance();
        channel.unsubscribe(localServiceChannelClient);
        for (AssociationDescriptor aDesc : svcElement.getAssociationDescriptors()) {
            if (aDesc.getAssociationType() == AssociationType.COLOCATED) {
                channel.subscribe(localServiceChannelClient, aDesc, ServiceChannelEvent.Type.PROVISIONED);
            }
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.