org.lsst.ccs.startup
Class NodeLookup

java.lang.Object
  extended by org.lsst.ccs.startup.NodeLookup
All Implemented Interfaces:
org.lsst.ccs.framework.ComponentLookupService

public class NodeLookup
extends Object
implements org.lsst.ccs.framework.ComponentLookupService

Author:
bamade

Field Summary
 
Fields inherited from interface org.lsst.ccs.framework.ComponentLookupService
NONE
 
Constructor Summary
NodeLookup(org.lsst.gruth.jutils.ComponentNode top)
           
 
Method Summary
 void aliasObject(String alias, Object object)
          aliases cannot override names in name componentNode structure
<T> Map<String,T>
getChildren(String parentName, Class<T> classFilter)
           
 Object getComponentByName(String name)
           
 Map.Entry<String,Object> getParent(String componentName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeLookup

public NodeLookup(org.lsst.gruth.jutils.ComponentNode top)
Method Detail

getComponentByName

public Object getComponentByName(String name)
Specified by:
getComponentByName in interface org.lsst.ccs.framework.ComponentLookupService

aliasObject

public void aliasObject(String alias,
                        Object object)
aliases cannot override names in name componentNode structure

Specified by:
aliasObject in interface org.lsst.ccs.framework.ComponentLookupService
Parameters:
alias -
object -

getChildren

public <T> Map<String,T> getChildren(String parentName,
                                     Class<T> classFilter)
Specified by:
getChildren in interface org.lsst.ccs.framework.ComponentLookupService

getParent

public Map.Entry<String,Object> getParent(String componentName)
Specified by:
getParent in interface org.lsst.ccs.framework.ComponentLookupService


Copyright © 2013 LSST. All Rights Reserved.