public class Protocol
extends java.lang.Object
Constructor and Description |
---|
Protocol(java.lang.String name,
java.util.Properties properties)
Build a new protocol object with given parameters
|
Modifier and Type | Method and Description |
---|---|
void |
addInterceptor(java.lang.String interceptorInitializer)
Add an interceptor for the given protocol
|
java.lang.String |
getInitialContextFactoryClassName() |
java.lang.String |
getName() |
javax.rmi.CORBA.PortableRemoteObjectDelegate |
getPortableRemoteObject() |
java.lang.String |
getRegistryClassName() |
protected java.lang.String |
getValue(java.lang.String key)
Gets value of properties object
|
public Protocol(java.lang.String name, java.util.Properties properties) throws ConfigurationException
name
- the name of this protocolproperties
- properties of this protocolConfigurationException
- if properties are missingprotected java.lang.String getValue(java.lang.String key) throws ConfigurationException
key
- the key of the propertiesConfigurationException
- if properties are missingpublic void addInterceptor(java.lang.String interceptorInitializer)
interceptorInitializer
- the class of the interceptor initializerpublic java.lang.String getInitialContextFactoryClassName()
public java.lang.String getRegistryClassName()
public javax.rmi.CORBA.PortableRemoteObjectDelegate getPortableRemoteObject()
public java.lang.String getName()