1 18 19 package org.objectweb.kilim.model.services; 20 21 import java.util.Iterator ; 22 23 import org.objectweb.kilim.KilimException; 24 import org.objectweb.kilim.model.Component; 25 import org.objectweb.kilim.model.ComponentElement; 26 27 31 public interface NamingContext { 32 33 38 NamingContext getParentNamingContext(); 39 40 44 void setParentNamingContext(NamingContext aContext); 45 46 52 void addChildNamingContext(String aName, NamingContext aContext) throws KilimException; 53 54 59 void removeChildNamingContext(String aName) throws KilimException; 60 61 65 Iterator getChildNamingContexts(); 66 67 71 void setExternalReferences(ExternalValueReferences xReferences); 72 73 77 ExternalValueReferences getExternalReferenceMap(); 78 79 83 String getQualifiedName(); 84 85 89 String getLocalName(); 90 91 97 void addBoundName(String aName, ComponentElement aElement) throws KilimException; 98 99 104 void removeBoundName(String aName) throws KilimException; 105 106 110 Iterator getBoundNames(); 111 112 119 ComponentElement resolveReference(String aName, Component aOrigin) throws KilimException; 120 } | Popular Tags |