Java Doc for OILServerILService.java in  » EJB-Server-JBoss-4.2.1 » messaging » org » jboss » mq » il » oil » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server JBoss 4.2.1 » messaging » org.jboss.mq.il.oil 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jboss.mq.il.ServerILJMXService
   org.jboss.mq.il.oil.OILServerILService

OILServerILService
final public class OILServerILService extends org.jboss.mq.il.ServerILJMXService implements java.lang.Runnable,OILServerILServiceMBean(Code)
Implements the ServerILJMXService which is used to manage the JVM IL.
author:
   Hiram Chirino (Cojonudo14@hotmail.com)
version:
   $Revision: 57198 $




Method Summary
public  StringgetBindAddress()
     Get the interface address the OIL server bind its listening port on.
public  java.util.PropertiesgetClientConnectionProperties()
    
public  StringgetClientSocketFactory()
     Get the javax.net.SocketFactory implementation class to use on the client.
public  booleangetEnableTcpNoDelay()
     Gets the enableTcpNoDelay.
public  StringgetName()
     Gives this JMX service a name.
public  intgetReadTimeout()
     Gets the socket read timeout.
public  StringgetSecurityDomain()
    
public  intgetServerBindPort()
    
public  ServerILgetServerIL()
    
public  StringgetServerSocketFactory()
     Get the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.
public  voidrun()
    
public  voidsetBindAddress(String host)
     Set the interface address the OIL server bind its listening port on.
public  voidsetClientSocketFactory(String name)
     Set the javax.net.SocketFactory implementation class to use on the client.
public  voidsetEnableTcpNoDelay(boolean enableTcpNoDelay)
     Sets the enableTcpNoDelay.
public  voidsetReadTimeout(int timeout)
     Sets the read time out.
public  voidsetSecurityDomain(String domainName)
    
public  voidsetServerBindPort(int serverBindPort)
    
public  voidsetServerSocketFactory(String name)
     Set the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.
public  voidstartService()
    
public  voidstopService()
     Stops this IL, and unbinds it from JNDI.



Method Detail
getBindAddress
public String getBindAddress()(Code)
Get the interface address the OIL server bind its listening port on. The hostname or dotted decimal address that the service isbound to.



getClientConnectionProperties
public java.util.Properties getClientConnectionProperties()(Code)
Used to construct the GenericConnectionFactory (bindJNDIReferences() builds it) Sets up the connection properties need by a client to use this IL The ClientConnectionProperties value



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



getEnableTcpNoDelay
public boolean getEnableTcpNoDelay()(Code)
Gets the enableTcpNoDelay. Returns a boolean



getName
public String getName()(Code)
Gives this JMX service a name. The Name value



getReadTimeout
public int getReadTimeout()(Code)
Gets the socket read timeout. Returns the read timeout in milli-seconds



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



getServerBindPort
public int getServerBindPort()(Code)
Get the OIL server listening port Value of property serverBindPort.



getServerIL
public ServerIL getServerIL()(Code)
Used to construct the GenericConnectionFactory (bindJNDIReferences() builds it) The ServerIL value



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



run
public void run()(Code)
Main processing method for the OILServerILService object



setBindAddress
public void setBindAddress(String host) throws UnknownHostException(Code)
Set the interface address the OIL server bind its listening port on.
Parameters:
  host - The host address to bind to, if any.
throws:
  java.net.UnknownHostException - Thrown if the hostname cannotbe resolved to an InetAddress object.



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



setEnableTcpNoDelay
public void setEnableTcpNoDelay(boolean enableTcpNoDelay)(Code)
Sets the enableTcpNoDelay.
Parameters:
  enableTcpNoDelay - The enableTcpNoDelay to set



setReadTimeout
public void setReadTimeout(int timeout)(Code)
Sets the read time out.
Parameters:
  timeout - The read time out in milli seconds



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



setServerBindPort
public void setServerBindPort(int serverBindPort)(Code)
Set the OIL server listening port
Parameters:
  serverBindPort - New value of property serverBindPort.



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



startService
public void startService() throws Exception(Code)
Starts this IL, and binds it to JNDI
exception:
  Exception - Description of Exception



stopService
public void stopService()(Code)
Stops this IL, and unbinds it from JNDI.



Fields inherited from org.jboss.mq.il.ServerILJMXService
protected String clientID(Code)(Java Doc)
protected String connectionFactoryJNDIRef(Code)(Java Doc)
protected Invoker jmsServer(Code)(Java Doc)
protected long pingPeriod(Code)(Java Doc)
protected String xaConnectionFactoryJNDIRef(Code)(Java Doc)

Methods inherited from org.jboss.mq.il.ServerILJMXService
public void bindJNDIReferences() throws javax.naming.NamingException(Code)(Java Doc)
public java.util.Properties getClientConnectionProperties()(Code)(Java Doc)
public String getClientID()(Code)(Java Doc)
public java.lang.String getConnectionFactoryJNDIRef()(Code)(Java Doc)
protected InitialContext getInitialContext() throws NamingException(Code)(Java Doc)
public ObjectName getJBossMQService()(Code)(Java Doc)
public Invoker getJMSServer()(Code)(Java Doc)
public long getPingPeriod()(Code)(Java Doc)
abstract public ServerIL getServerIL()(Code)(Java Doc)
public java.lang.String getXAConnectionFactoryJNDIRef()(Code)(Java Doc)
public Invoker lookupJMSServer()(Code)(Java Doc)
protected void rebind(Context ctx, String name, Object val) throws NamingException(Code)(Java Doc)
public void setClientID(String clientID)(Code)(Java Doc)
public void setConnectionFactoryJNDIRef(java.lang.String newConnectionFactoryJNDIRef)(Code)(Java Doc)
public void setInvoker(ObjectName jbossMQService)(Code)(Java Doc)
public void setPingPeriod(long period)(Code)(Java Doc)
public void setXAConnectionFactoryJNDIRef(java.lang.String newXaConnectionFactoryJNDIRef)(Code)(Java Doc)
public void startService() throws Exception(Code)(Java Doc)
public void stopService() throws Exception(Code)(Java Doc)
public void unbindJNDIReferences() throws javax.naming.NamingException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.