1 26 package org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.installer; 27 28 import org.omg.CosNaming.NameComponent ; 29 import org.omg.CosNaming.NamingContextPackage.CannotProceed ; 30 import org.omg.CosNaming.NamingContextPackage.InvalidName ; 31 import org.omg.CosNaming.NamingContextPackage.NotFound ; 32 33 41 public abstract class DestinationDeployerBase 42 extends DestinationDeployerContext 43 implements DestinationDeployer{ 44 45 51 57 63 73 protected org.omg.CORBA.Object 74 getRef(String ref) 75 throws NotFound , 76 CannotProceed , 77 InvalidName 78 79 { 80 NameComponent [] ncomp= getRootDeployerContext() 81 .getNamingContextExt() 82 .to_name(ref); 83 84 return getRootDeployerContext() 85 .getNamingContextExt() 86 .resolve(ncomp); 87 } 88 89 95 } 96 | Popular Tags |