|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.component.carol.Protocol
public class Protocol
Protocol class which describe the RMI protocol configuration.
Constructor Summary | |
---|---|
Protocol()
|
Method Summary | |
---|---|
String |
getHostname()
|
String |
getName()
|
int |
getPortNumber()
|
String |
getUrl()
|
void |
setHostname(String hostname)
Sets the hostname of this protocol. |
void |
setName(String name)
Sets the name of this protocol. |
void |
setPortNumber(int portNumber)
Sets the port number of this protocol. |
void |
setUrl(String url)
Sets the URL used as PROVIDER_URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Protocol()
Method Detail |
---|
public String getHostname()
public void setHostname(String hostname)
hostname
- the host for listeningpublic String getName()
public void setName(String name)
name
- the given namepublic int getPortNumber()
public void setPortNumber(int portNumber)
portNumber
- the port for listeningpublic String getUrl()
public void setUrl(String url)
url
- the url which define host + port.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |