Package org.jboss.as.clustering.jgroups.subsystem

Examples of org.jboss.as.clustering.jgroups.subsystem.Protocol


        System.out.println("parameter name = " + parameterName + ", value = " + value);

        super.validateParameter(parameterName, value);

        if (value.isDefined()) {
            final Protocol protocol = Protocol.valueOf(value.asString());
            if (protocol == null || !allowedValues.contains(protocol)) {
               // throw new OperationFailedException(new ModelNode().set(MESSAGES.invalidTargetName(allowedValues)));
               throw new OperationFailedException(new ModelNode().set("invalid value for " + protocol));
            }
        }
View Full Code Here

TOP

Related Classes of org.jboss.as.clustering.jgroups.subsystem.Protocol

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.