|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean of the HTTPAdapter
Method Summary | |
void |
addAuthorization(java.lang.String username,
java.lang.String password)
Adds an authorization |
java.lang.String |
getAuthenticationMethod()
Authentication Method |
java.lang.String |
getHost()
Return the host name the server will be listening to. |
int |
getPort()
Returns the port where the server is running on. |
ProcessorMBean |
getProcessor()
Returns the object being used as a processor |
ObjectName |
getProcessorName()
Returns the ObjectName of the processor being used |
boolean |
isActive()
Indicates whether the server's running |
void |
restart()
Restarts the server. |
void |
setAuthenticationMethod(java.lang.String method)
Sets the Authentication Method. |
void |
setHost(java.lang.String host)
Sets the host name where the server will be listening |
void |
setPort(int port)
Sets the value of the server's port |
void |
setProcessor(ProcessorMBean processor)
Sets the object which will post process the XML results. |
void |
setProcessorName(ObjectName processorName)
Sets the object name which will post process the XML result. |
void |
setSocketFactory(AdaptorServerSocketFactory factory)
Sets the object which create the server sockets |
void |
setSocketFactoryName(java.lang.String factoryName)
Sets the ObjectName of the factory for server sockets |
void |
start()
Starts the server |
void |
stop()
Stops the server |
Method Detail |
public int getPort()
public void setPort(int port)
port
- the new port's valuepublic java.lang.String getHost()
public void setHost(java.lang.String host)
host
- Server's hostpublic void setSocketFactory(AdaptorServerSocketFactory factory)
factory
- the socket factorypublic void setSocketFactoryName(java.lang.String factoryName)
factoryName
- the ObjectName of the ServerSocket factorypublic void setProcessor(ProcessorMBean processor)
processor
- a processor objectpublic void setProcessorName(ObjectName processorName)
processor
- a processor objectpublic ProcessorMBean getProcessor()
public ObjectName getProcessorName()
public java.lang.String getAuthenticationMethod()
public void setAuthenticationMethod(java.lang.String method)
method
- none/basic/digestpublic void addAuthorization(java.lang.String username, java.lang.String password)
username
- authorized usernameusername
- authorized passwordpublic boolean isActive()
true
- if the server is working, false
otherwisepublic void start() throws java.io.IOException
public void stop()
public void restart() throws java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |