public interface ProtocolConfiguration
Modifier and Type | Method and Description |
---|---|
void |
configure(java.util.Properties properties)
Configure this configuration with a given properties object
|
java.lang.String |
getHost() |
javax.naming.Context |
getInitialContext(java.util.Hashtable env)
Build an initial context with the given environment using our
configuration
|
java.lang.String |
getName() |
int |
getPort() |
java.util.Properties |
getProperties() |
Protocol |
getProtocol() |
java.lang.String |
getProviderURL() |
Protocol getProtocol()
java.lang.String getName()
javax.naming.Context getInitialContext(java.util.Hashtable env) throws javax.naming.NamingException
env
- parameters for the initial contextjavax.naming.NamingException
- if the context is not createdjava.util.Properties getProperties()
java.lang.String getHost()
int getPort()
java.lang.String getProviderURL()
void configure(java.util.Properties properties) throws ConfigurationException
properties
- given propertiesConfigurationException
- if the given config is invalid