com.sun.enterprise.v3.admin
Class V2DottedNameSupport

java.lang.Object
  extended by com.sun.enterprise.v3.admin.V2DottedNameSupport
Direct Known Subclasses:
GetCommand, ListCommand, MonitoringReporter, SetCommand

public class V2DottedNameSupport
extends Object

Utility class for all V2 style related dotted names commands. User: Jerome Dochez Date: Jul 9, 2008 Time: 11:38:50 PM


Constructor Summary
V2DottedNameSupport()
           
 
Method Summary
 List<Map.Entry> applyOverrideRules(List<Map.Entry> nodes)
           
 com.sun.enterprise.v3.admin.V2DottedNameSupport.TreeNode[] getAliasedParent(Domain domain, String prefix)
           
 Map<org.jvnet.hk2.config.Dom,String> getAllDottedNodes(org.jvnet.hk2.config.ConfigBeanProxy proxy)
           
 Map<org.jvnet.hk2.config.Dom,String> getAllDottedNodes(org.jvnet.hk2.config.Dom root)
           
protected  void getAllSubDottedNames(String prefix, org.jvnet.hk2.config.Dom parent, Map<org.jvnet.hk2.config.Dom,String> result)
           
 Map<org.jvnet.hk2.config.Dom,String> getMatchingNodes(Map<org.jvnet.hk2.config.Dom,String> nodes, String pattern)
           
 Named[] getNamedNodes(List<? extends Named> target, List<? extends Named> references, String name)
           
 Map<String,String> getNodeAttributes(org.jvnet.hk2.config.Dom node, String prefix)
           
 boolean matches(String dottedName, String pattern)
           
protected  boolean matchName(String a, String b)
           
 List<Map.Entry> sortNodesByDottedName(Map<org.jvnet.hk2.config.Dom,String> nodes)
           
 List<TreeNode> sortTreeNodesByCompletePathName(List<TreeNode> nodes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

V2DottedNameSupport

public V2DottedNameSupport()
Method Detail

getAllDottedNodes

public Map<org.jvnet.hk2.config.Dom,String> getAllDottedNodes(org.jvnet.hk2.config.ConfigBeanProxy proxy)

getAllDottedNodes

public Map<org.jvnet.hk2.config.Dom,String> getAllDottedNodes(org.jvnet.hk2.config.Dom root)

getAllSubDottedNames

protected void getAllSubDottedNames(String prefix,
                                    org.jvnet.hk2.config.Dom parent,
                                    Map<org.jvnet.hk2.config.Dom,String> result)

getNodeAttributes

public Map<String,String> getNodeAttributes(org.jvnet.hk2.config.Dom node,
                                            String prefix)

getMatchingNodes

public Map<org.jvnet.hk2.config.Dom,String> getMatchingNodes(Map<org.jvnet.hk2.config.Dom,String> nodes,
                                                             String pattern)

matches

public boolean matches(String dottedName,
                       String pattern)

matchName

protected boolean matchName(String a,
                            String b)

getAliasedParent

public com.sun.enterprise.v3.admin.V2DottedNameSupport.TreeNode[] getAliasedParent(Domain domain,
                                                                                   String prefix)
                                                                            throws org.jvnet.hk2.component.ComponentException
Throws:
org.jvnet.hk2.component.ComponentException

getNamedNodes

public Named[] getNamedNodes(List<? extends Named> target,
                             List<? extends Named> references,
                             String name)

applyOverrideRules

public List<Map.Entry> applyOverrideRules(List<Map.Entry> nodes)

sortNodesByDottedName

public List<Map.Entry> sortNodesByDottedName(Map<org.jvnet.hk2.config.Dom,String> nodes)

sortTreeNodesByCompletePathName

public List<TreeNode> sortTreeNodesByCompletePathName(List<TreeNode> nodes)


Copyright © 2012. All Rights Reserved.