Package org.jboss.as.model.socket

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


    InterfaceElement addInterface(final String name) {
        if(interfaces.containsKey(name)) {
            return null;
        }
        final InterfaceElement networkInterface = new InterfaceElement(name);
        interfaces.put(name, networkInterface);
        return networkInterface;
    }
View Full Code Here


    }

    /** {@inheritDoc} */
    @Override
    protected void applyUpdate(final ServerElement server) throws UpdateFailedException {
        final InterfaceElement networkInterface = server.addInterface(delegate.getName());
        if(networkInterface == null) {
            throw new UpdateFailedException();
        }
        delegate.applyUpdate(networkInterface);
    }
View Full Code Here

TOP

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

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.