|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.mq.il.ServerILJMXService
org.jboss.mq.il.oil.OILServerILService
Implements the ServerILJMXService which is used to manage the JVM IL.
| Field Summary |
| Fields inherited from class org.jboss.mq.il.ServerILJMXService |
clientID, connectionFactoryJNDIRef, pingPeriod, xaConnectionFactoryJNDIRef |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
SERVICE_CONTROLLER_SIG, serviceName |
| 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 |
| Constructor Summary | |
OILServerILService()
|
|
| Method Summary | |
String |
getBindAddress()
Get the interface address the OIL server bind its listening port on. |
Properties |
getClientConnectionProperties()
Used to construct the GenericConnectionFactory (bindJNDIReferences() builds it) Sets up the connection properties need by a client to use this IL |
String |
getClientSocketFactory()
Get the javax.net.SocketFactory implementation class to use on the client. |
boolean |
getEnableTcpNoDelay()
Gets the enableTcpNoDelay. |
String |
getName()
Gives this JMX service a name. |
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 |
ServerIL |
getServerIL()
Used to construct the GenericConnectionFactory (bindJNDIReferences() builds it) |
String |
getServerSocketFactory()
Get the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory. |
void |
run()
Main processing method for the OILServerILService object |
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. |
void |
startService()
Starts this IL, and binds it to JNDI |
void |
stopService()
Stops this IL, and unbinds it from JNDI. |
| Methods inherited from class org.jboss.mq.il.ServerILJMXService |
bindJNDIReferences, getClientID, getConnectionFactoryJNDIRef, getJBossMQService, getPingPeriod, getXAConnectionFactoryJNDIRef, lookupJMSServer, rebind, setClientID, setConnectionFactoryJNDIRef, setInvoker, setPingPeriod, setXAConnectionFactoryJNDIRef, unbindJNDIReferences |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getLog, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 |
getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
| Constructor Detail |
public OILServerILService()
| Method Detail |
public Properties getClientConnectionProperties()
getClientConnectionProperties in class ServerILJMXServicepublic String getName()
getName in interface org.jboss.system.ServiceMBeanpublic ServerIL getServerIL()
getServerIL in class ServerILJMXServicepublic void run()
public void startService()
throws Exception
startService in class ServerILJMXServiceException - Description of Exceptionpublic void stopService()
stopService in class ServerILJMXServicepublic int getServerBindPort()
getServerBindPort in interface OILServerILServiceMBeanpublic void setServerBindPort(int serverBindPort)
setServerBindPort in interface OILServerILServiceMBeanserverBindPort - New value of property serverBindPort.public String getBindAddress()
getBindAddress in interface OILServerILServiceMBeanpublic void setBindAddress(String host) throws UnknownHostException
setBindAddress in interface OILServerILServiceMBeanhost - The host address to bind to, if any.
UnknownHostException - Thrown if the hostname cannot
be resolved to an InetAddress object.public boolean getEnableTcpNoDelay()
getEnableTcpNoDelay in interface OILServerILServiceMBeanpublic void setEnableTcpNoDelay(boolean enableTcpNoDelay)
setEnableTcpNoDelay in interface OILServerILServiceMBeanenableTcpNoDelay - The enableTcpNoDelay to setpublic int getReadTimeout()
getReadTimeout in interface OILServerILServiceMBeanpublic void setReadTimeout(int timeout)
setReadTimeout in interface OILServerILServiceMBeantimeout - The read time out in milli secondspublic String getClientSocketFactory()
getClientSocketFactory in interface OILServerILServiceMBeanpublic void setClientSocketFactory(String name)
setClientSocketFactory in interface OILServerILServiceMBeanpublic void setServerSocketFactory(String name) throws Exception
setServerSocketFactory in interface OILServerILServiceMBeanExceptionpublic String getServerSocketFactory()
getServerSocketFactory in interface OILServerILServiceMBeanpublic void setSecurityDomain(String domainName)
setSecurityDomain in interface OILServerILServiceMBeanpublic String getSecurityDomain()
getSecurityDomain in interface OILServerILServiceMBean
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||