Package com.sun.appserv.management.helper

Examples of com.sun.appserv.management.helper.DeployedItemHelper


    private String[] getModulesOnATarget(SunTarget aTarget, ModuleType requiredType, String attribute,
                                                            Object status) throws IOException {
        Set modules = null;
       
        // Get all deployed items in the given target
        DeployedItemHelper helper = new DeployedItemHelper(getRootProxy());
        if( ! aTarget.getTargetType().equals(TargetType.CLUSTER)) {
            modules = helper.queryStandaloneServerDeployedItemObjectNames(aTarget.getName());
        } else {
            modules = helper.queryClusterDeployedItemObjectNames(aTarget.getName());       
        }
       
        // if required to get only enabled / disabled modules, filter the received modules Set
        if(attribute != null) {
            modules = helper.filterByAttributeValue(modules, attribute, status);
        }
       
        // Now from this filtered set, get the modules of the required type
        Vector modulesMatchingType = new Vector();
        final String xtype = getXType(requiredType);
View Full Code Here

TOP

Related Classes of com.sun.appserv.management.helper.DeployedItemHelper

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.