|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.util.configuration.Protocol
This class defines commons attributes of a protocol for Carol.
An rmi configuration relies on a protocol by specifying properties. For
example a protocol is composed of a Prodelegate Implementation class, a
registry class, etc.
But the PROVIDER_URL could be different. This is done in Configuration
object. (one protocol could be associated to different configurations)
ie : JRMP --> jrmp1 with localhost:1099, jrmp2 with localhost:1100
Constructor Summary | |
Protocol(java.lang.String name,
java.util.Properties properties,
org.apache.commons.logging.Log logger,
java.lang.String domainName,
java.lang.String serverName)
Build a new protocol object with given parameters |
Method Summary | |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Protocol(java.lang.String name, java.util.Properties properties, org.apache.commons.logging.Log logger, java.lang.String domainName, java.lang.String serverName) throws ConfigurationException
name
- the name of this protocolproperties
- properties of this protocollogger
- loggerdomainName
- the name of the JOnAS domainserverName
- the name of the server for creating mbeans
ConfigurationException
- if properties are missingMethod Detail |
protected java.lang.String getValue(java.lang.String key) throws ConfigurationException
key
- the key of the properties
ConfigurationException
- 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()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |