Package com.sun.enterprise.admin.target

Examples of com.sun.enterprise.admin.target.TargetBuilder


    public static String getConfigElementTargetName(String xpath, ConfigContext ctx)
    {
        String targetName = null;
        try {
            // Get target name for event
            TargetBuilder targetBuilder = new TargetBuilder();
            return targetBuilder.getTargetNameForXPath(xpath, ctx, true);
        } catch(Exception e)
        {
            //can not find target -> get default (domain)
        }
        return null;
View Full Code Here


                        "EERestartEventHelper: All changes were dynamically reconfigurable");
                    return;
                }

                Set targetSet = new HashSet();
                TargetBuilder tgtBldr = new TargetBuilder();
                while(iter.hasNext()) {
                    String xpath = (String) iter.next();
                    String target = null;
                   
                    try {
                        target = tgtBldr.getTargetNameForXPath(
                                        xpath,ctx,true);
                        targetSet.add(target);
                    } catch (Exception e) {
                        // ignore if this is not a valid target
                        getLogger().log(Level.INFO,
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.target.TargetBuilder

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.