Package com.sun.mfwk.agent.appserv.mapping

Examples of com.sun.mfwk.agent.appserv.mapping.AS_ObjectNameNotFoundException


        NodeList nodeList = queryService.getCMM_Mbeans(AS_ObjectName, type);
        Element cmmElement = null;
        if(nodeList.getLength() == 1) {
            cmmElement = (Element)nodeList.item(0);
            if (cmmElement == null)
                throw new AS_ObjectNameNotFoundException(AS_ObjectName);
            cmmObjectNameTemplate = (String)cmmElement.getAttribute(OBJECT_NAME);
        }
        return cmmObjectNameTemplate;
    }
View Full Code Here


       NodeList nodeList = queryService.getCMM_Mbeans(AS_ObjectName);
       Element cmmElement = null;
       for(int i=0; i<nodeList.getLength(); i++) {
           cmmElement = (Element)nodeList.item(i);
           if (cmmElement == null)
               throw new AS_ObjectNameNotFoundException(AS_ObjectName);
           cmmObjectNameTemplates.add(cmmElement.getAttribute(OBJECT_NAME));
       }
       return cmmObjectNameTemplates;
   }
View Full Code Here

TOP

Related Classes of com.sun.mfwk.agent.appserv.mapping.AS_ObjectNameNotFoundException

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.