Package net.gridshield.nexsm.mapper.pusher

Examples of net.gridshield.nexsm.mapper.pusher.Pusher


            }
            push = null;
        }
        if (push != null) {
            Class klass = null;
            Pusher pus = null;
            try {
               klass  = Class.forName(push.getPusherClass());
               pus = (Pusher)klass.newInstance();
              
               String cgidir = push.getParam("cgidir").getValue();
               if (cgidir.startsWith("/")) {
                   cgidir = getStringParam("nagiosbase") + cgidir;
               }
               String cgifile = push.getParam("cgifile").getValue();
               cgidir += "/" + cgifile;
              
               // the params for the command
              
               pus.initialize(cgidir);
               pus.setPushManager(_pushManager);
               outval = pus.push(command);
            } catch (ClassNotFoundException ex) {
                ex.printStackTrace();
            } catch (InstantiationException ex) {
                ex.printStackTrace();
            } catch (IllegalAccessException ex) {
View Full Code Here

TOP

Related Classes of net.gridshield.nexsm.mapper.pusher.Pusher

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.