Package com.sun.enterprise.ee.admin.lbadmin.reader.api

Examples of com.sun.enterprise.ee.admin.lbadmin.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 {
            _c.setInstanceName(_i,iRdr.getName());
        } catch (LbReaderException le) {
            // XXX ignore
        }
        try {
            _c.setInstanceEnabled(_i, ""+iRdr.getLbEnabled());
        } catch (LbReaderException le) {
            // XXX ignore
        }
        try {
            _c.setInstanceDisableTimeoutInMinutes(_i,
                                iRdr.getDisableTimeoutInMinutes());
        } catch (LbReaderException le) {
            // XXX ignore
        }
        try {
            _c.setInstanceListeners(_i, iRdr.getListeners());
        } catch (LbReaderException le) {
            // XXX ignore
        }
        try {
            _c.setInstanceWeight(_i,
                                iRdr.getWeight());
        } catch (LbReaderException le) {
            // XXX ignore
        }

       
View Full Code Here

TOP

Related Classes of com.sun.enterprise.ee.admin.lbadmin.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.