1 23 package com.sun.enterprise; 24 25 import javax.naming.*; 26 import java.util.Hashtable ; 27 import com.sun.enterprise.deployment.*; 28 29 36 public interface NamingManager { 37 38 41 42 public Context getInitialContext(); 43 44 51 52 public void publishObject(String name, Object obj, boolean rebind) 53 throws NamingException; 54 55 62 63 public void publishObject(Name name, Object obj, boolean rebind) 64 throws NamingException; 65 66 71 public void unpublishObject(String name) 72 throws NamingException; 73 74 79 public void unpublishObject(Name name) 80 throws NamingException; 81 82 86 public String bindObjects(JndiNameEnvironment env) throws NamingException; 87 88 92 public void unbindObjects(JndiNameEnvironment env) throws NamingException; 93 94 98 public Context restoreJavaCompEnvContext(String contextName) throws NamingException; 99 } 100 | Popular Tags |