Package org.jvnet.glassfish.comms.admin.clbadmin.reader.api

Examples of org.jvnet.glassfish.comms.admin.clbadmin.reader.api.InstanceReader


    /**
     * Visit reader class
     */
    public void visit(BaseReader br) {
        // FIXME, make as assert here about no class cast exception
        InstanceReader iRdr = (InstanceReader) br;

        try {
            _i.setName(iRdr.getName());
        } catch (LbReaderException le) {
            // XXX ignore
        }

        try {
            _i.setEnabled(Boolean.toString(iRdr.getLbEnabled()));
        } catch (LbReaderException le) {
            // XXX ignore
        }

        try {
            _i.setDisableTimeoutInMinutes(iRdr.getDisableTimeoutInMinutes());
        } catch (LbReaderException le) {
            // XXX ignore
        }

        try {
            _i.setListeners(iRdr.getListeners());
        } catch (LbReaderException le) {
            // XXX ignore
        }
    }
View Full Code Here

TOP

Related Classes of org.jvnet.glassfish.comms.admin.clbadmin.reader.api.InstanceReader

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.