Package org.jboss.as.model.socket

Examples of org.jboss.as.model.socket.SocketBindingAdd


            throw ParseUtils.missingRequired(reader, Collections.singleton(Attribute.NAME));
        }
        // Handle elements
        ParseUtils.requireNoContent(reader);

        final SocketBindingAdd update = new SocketBindingAdd(interfaceName == null ? inheritedInterfaceName : interfaceName, name, port == null ? 0 : port.intValue());
        update.setFixedPort(fixPort == null ? false : fixPort.booleanValue());
        update.setMulticastAddress(mcastAddr);
        update.setMulticastPort(mcastAddr == null ? -1 : mcastPort != null ? mcastPort.intValue() : -1);
        updates.add(update);
        return name;
    }
View Full Code Here


                "same subsystem in multiple related profiles is illegal.", namespaceURI, duplicate, currentProfile));
    }

    private static void processSocketBindings(final SocketBindingGroupElement group, List<AbstractServerModelUpdate<?>> list) {
        for(final SocketBindingElement binding : group.getSocketBindings()) {
            final SocketBindingAdd update = new SocketBindingAdd(binding);
            list.add(new ServerSocketBindingUpdate(update));
        }

    }
View Full Code Here

TOP

Related Classes of org.jboss.as.model.socket.SocketBindingAdd

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.