Package org.jboss.as.clustering.jgroups

Examples of org.jboss.as.clustering.jgroups.ChannelFactory


    protected void destroyService() {
        // no-op
    }

    protected Channel createChannel() {
        ChannelFactory factory = this.getChannelFactory();
        if (factory == null) {
            throw MESSAGES.haPartitionConfigHasNo("JChannelFactory");
        }
        String stack = this.getChannelStackName();
        if (stack == null) {
            throw MESSAGES.haPartitionConfigHasNo("multiplexer stack");
        }
        try {
            return factory.createChannel(this.getGroupName());
        } catch (RuntimeException e) {
            throw e;
        } catch (Exception e) {
            throw MESSAGES.failedToCreateMultiplexChannel(e);
        }
View Full Code Here

TOP

Related Classes of org.jboss.as.clustering.jgroups.ChannelFactory

Copyright © 2018 www.massapicom. 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.