|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProtocolConfiguration
This interface defines an rmi configuration that is used by Carol.
Method Summary | |
---|---|
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()
|
Method Detail |
---|
Protocol getProtocol()
java.lang.String getName()
javax.naming.Context getInitialContext(java.util.Hashtable env) throws javax.naming.NamingException
env
- parameters for the initial context
javax.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 properties
ConfigurationException
- if the given config is invalid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |