站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 messaging API Documentation 英文版文档

OILServerILServiceMBean (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging API Documentation 英文版文档


org.jboss.mq.il.oil
Interface OILServerILServiceMBean

All Superinterfaces:
ServerILJMXServiceMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
OILServerILService

public interface OILServerILServiceMBean
extends ServerILJMXServiceMBean

MBean interface.


Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 String getBindAddress()
          Get the interface address the OIL server bind its listening port on.
 String getClientSocketFactory()
          Get the javax.net.SocketFactory implementation class to use on the client.
 boolean getEnableTcpNoDelay()
          Gets the enableTcpNoDelay.
 int getReadTimeout()
          Gets the socket read timeout.
 String getSecurityDomain()
          Get the security domain name to use with SSL aware socket factories
 int getServerBindPort()
          Get the OIL server listening port
 String getServerSocketFactory()
          Get the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.
 void setBindAddress(String host)
          Set the interface address the OIL server bind its listening port on.
 void setClientSocketFactory(String name)
          Set the javax.net.SocketFactory implementation class to use on the client.
 void setEnableTcpNoDelay(boolean enableTcpNoDelay)
          Sets the enableTcpNoDelay.
 void setReadTimeout(int timeout)
          Sets the read time out.
 void setSecurityDomain(String domainName)
          Set the security domain name to use with SSL aware socket factories
 void setServerBindPort(int serverBindPort)
          Set the OIL server listening port
 void setServerSocketFactory(String name)
          Set the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.
 
Methods inherited from interface org.jboss.mq.il.ServerILJMXServiceMBean
getClientID, getConnectionFactoryJNDIRef, getJBossMQService, getPingPeriod, getXAConnectionFactoryJNDIRef, setClientID, setConnectionFactoryJNDIRef, setInvoker, setPingPeriod, setXAConnectionFactoryJNDIRef
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

getServerBindPort

public int getServerBindPort()
Get the OIL server listening port

Returns:
Value of property serverBindPort.

setServerBindPort

public void setServerBindPort(int serverBindPort)
Set the OIL server listening port

Parameters:
serverBindPort - New value of property serverBindPort.

getBindAddress

public String getBindAddress()
Get the interface address the OIL server bind its listening port on.

Returns:
The hostname or dotted decimal address that the service is bound to.

setBindAddress

public void setBindAddress(String host)
                    throws UnknownHostException
Set the interface address the OIL server bind its listening port on.

Parameters:
host - The host address to bind to, if any.
Throws:
UnknownHostException - Thrown if the hostname cannot be resolved to an InetAddress object.

getEnableTcpNoDelay

public boolean getEnableTcpNoDelay()
Gets the enableTcpNoDelay.

Returns:
Returns a boolean

setEnableTcpNoDelay

public void setEnableTcpNoDelay(boolean enableTcpNoDelay)
Sets the enableTcpNoDelay.

Parameters:
enableTcpNoDelay - The enableTcpNoDelay to set

getReadTimeout

public int getReadTimeout()
Gets the socket read timeout.

Returns:
Returns the read timeout in milli-seconds

setReadTimeout

public void setReadTimeout(int timeout)
Sets the read time out.

Parameters:
timeout - The read time out in milli seconds

getClientSocketFactory

public String getClientSocketFactory()
Get the javax.net.SocketFactory implementation class to use on the client.


setClientSocketFactory

public void setClientSocketFactory(String name)
Set the javax.net.SocketFactory implementation class to use on the client.


setServerSocketFactory

public void setServerSocketFactory(String name)
                            throws Exception
Set the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.

Throws:
Exception

getServerSocketFactory

public String getServerSocketFactory()
Get the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.


setSecurityDomain

public void setSecurityDomain(String domainName)
Set the security domain name to use with SSL aware socket factories


getSecurityDomain

public String getSecurityDomain()
Get the security domain name to use with SSL aware socket factories



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.