1 25 package org.objectweb.carol.util.configuration; 26 27 import java.util.Hashtable ; 28 import java.util.Properties ; 29 30 import javax.naming.Context ; 31 import javax.naming.NamingException ; 32 33 37 public interface ProtocolConfiguration { 38 39 42 Protocol getProtocol(); 43 44 47 String getName(); 48 49 50 57 Context getInitialContext(Hashtable env) throws NamingException ; 58 59 62 Properties getProperties(); 63 64 67 String getHost(); 68 69 72 int getPort(); 73 74 77 String getProviderURL(); 78 79 84 void configure(Properties properties) throws ConfigurationException; 85 } 86 | Popular Tags |