Java Doc for DetachedHANamingService.java in  » EJB-Server-JBoss-4.2.1 » cluster » org » jboss » ha » jndi » 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 » cluster » org.jboss.ha.jndi 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jboss.ha.jndi.DetachedHANamingService

All known Subclasses:   org.jboss.ha.jndi.HANamingService,
DetachedHANamingService
public class DetachedHANamingService extends ServiceMBeanSupport implements DetachedHANamingServiceMBean(Code)
Management Bean for the protocol independent HA-JNDI service. This allows the naming service transport layer to be provided by a detached invoker service like JRMPInvokerHA + ProxyFactoryHA.
author:
   Bill Burke
author:
   Sacha Labourey
author:
   Scott.Stark@jboss.org
version:
   $Revision: 57188 $


Field Summary
protected  StringadGroupAddress
    
protected  intadGroupPort
    
protected  AutomaticDiscoveryautoDiscovery
    
protected  intautoDiscoveryTTL
    
protected  intbacklog
    
protected  InetAddressbindAddress
     The interface to bind to.
protected  ServerSocketbootstrapSocket
    
protected  ClusterPartitionMBeanclusterPartition
     The ClusterPartition with which we are associated.
protected  InetAddressdiscoveryBindAddress
    
protected  booleandiscoveryDisabled
    
protected  ServerSocketFactoryjnpServerSocketFactory
    
protected  StringjnpServerSocketFactoryName
    
protected  ThreadPoollookupPool
    
protected  MapmarshalledInvocationMapping
    
protected  HAPartitionpartition
    
protected  StringpartitionName
    
protected  intport
     The jnp protocol listening port.
protected  Namingstub
    
protected  HAJNDItheServer
    

Constructor Summary
public  DetachedHANamingService()
    

Method Summary
protected  voidcreateService()
    
protected  voiddestroyService()
    
protected  HAPartitionfindHAPartitionWithName(String name)
    
public  StringgetAutoDiscoveryAddress()
    
public  StringgetAutoDiscoveryBindAddress()
    
public  intgetAutoDiscoveryGroup()
    
public  intgetAutoDiscoveryTTL()
    
public  intgetBacklog()
    
public  StringgetBindAddress()
    
public  ClusterPartitionMBeangetClusterPartition()
    
public  booleangetDiscoveryDisabled()
    
public  MapgetMethodMap()
    
protected  NaminggetNamingProxy()
     Get the Naming proxy for the transport.
public  StringgetPartitionName()
    
public  intgetPort()
    
public  ObjectNamegetProxyFactoryObjectName()
    
protected  voidinitBootstrapListener()
    
public  Objectinvoke(Invocation invocation)
     Expose the Naming service via JMX to invokers.
public  voidsetAutoDiscoveryAddress(String adAddress)
    
public  voidsetAutoDiscoveryBindAddress(String address)
    
public  voidsetAutoDiscoveryGroup(int adGroup)
    
public  voidsetAutoDiscoveryTTL(int ttl)
    
public  voidsetBacklog(int backlog)
    
public  voidsetBindAddress(String host)
    
public  voidsetClusterPartition(ClusterPartitionMBean clusterPartition)
    
public  voidsetDiscoveryDisabled(boolean disable)
    
public  voidsetJNPServerSocketFactory(String factoryClassName)
    
public  voidsetLookupPool(BasicThreadPoolMBean poolMBean)
    
public  voidsetPartitionName(String partitionName)
    
public  voidsetPort(int p)
    
public  voidsetProxyFactoryObjectName(ObjectName proxyFactory)
    
public  voidstartService(HAPartition haPartition)
    
protected  voidstartService()
    
protected  voidstopService()
    

Field Detail
adGroupAddress
protected String adGroupAddress(Code)
The autodiscovery multicast group



adGroupPort
protected int adGroupPort(Code)
The autodiscovery port



autoDiscovery
protected AutomaticDiscovery autoDiscovery(Code)
The runable task for discovery request packets



autoDiscoveryTTL
protected int autoDiscoveryTTL(Code)
The autodiscovery Multicast reply TTL



backlog
protected int backlog(Code)
The bootstrapSocket listen queue depth



bindAddress
protected InetAddress bindAddress(Code)
The interface to bind to. This is useful for multi-homed hosts that want control over which interfaces accept connections.



bootstrapSocket
protected ServerSocket bootstrapSocket(Code)
The jnp server socket through which the HAJNDI stub is vended



clusterPartition
protected ClusterPartitionMBean clusterPartition(Code)
The ClusterPartition with which we are associated.



discoveryBindAddress
protected InetAddress discoveryBindAddress(Code)
The interface to bind the Multicast socket for autodiscovery to



discoveryDisabled
protected boolean discoveryDisabled(Code)
A flag indicating if autodiscovery should be disabled



jnpServerSocketFactory
protected ServerSocketFactory jnpServerSocketFactory(Code)
An optional custom server socket factory for the bootstrap lookup



jnpServerSocketFactoryName
protected String jnpServerSocketFactoryName(Code)
The class name of the optional custom JNP server socket factory



lookupPool
protected ThreadPool lookupPool(Code)
The thread pool used to handle jnp stub lookup requests



marshalledInvocationMapping
protected Map marshalledInvocationMapping(Code)
The mapping from the long method hash to the Naming Method



partition
protected HAPartition partition(Code)
The HAPartition used for the state transfer service



partitionName
protected String partitionName(Code)
The partition name used to lookup the HAPartition binding



port
protected int port(Code)
The jnp protocol listening port. The default is 1100, the same as the RMI registry default port.



stub
protected Naming stub(Code)
The protocol stub returned to clients by the bootstrap lookup



theServer
protected HAJNDI theServer(Code)
The Naming interface server implementation




Constructor Detail
DetachedHANamingService
public DetachedHANamingService()(Code)




Method Detail
createService
protected void createService() throws Exception(Code)



destroyService
protected void destroyService() throws Exception(Code)



findHAPartitionWithName
protected HAPartition findHAPartitionWithName(String name) throws Exception(Code)



getAutoDiscoveryAddress
public String getAutoDiscoveryAddress()(Code)



getAutoDiscoveryBindAddress
public String getAutoDiscoveryBindAddress()(Code)



getAutoDiscoveryGroup
public int getAutoDiscoveryGroup()(Code)



getAutoDiscoveryTTL
public int getAutoDiscoveryTTL()(Code)



getBacklog
public int getBacklog()(Code)



getBindAddress
public String getBindAddress()(Code)



getClusterPartition
public ClusterPartitionMBean getClusterPartition()(Code)



getDiscoveryDisabled
public boolean getDiscoveryDisabled()(Code)



getMethodMap
public Map getMethodMap()(Code)
Expose the Naming service interface mapping as a read-only attribute A Map of the Naming interface



getNamingProxy
protected Naming getNamingProxy() throws Exception(Code)
Get the Naming proxy for the transport. This version looks up the proxyFactory service Proxy attribute. Subclasses can override this to set the proxy another way. The Naming proxy for the protocol used with the HAJNDI service



getPartitionName
public String getPartitionName()(Code)



getPort
public int getPort()(Code)



getProxyFactoryObjectName
public ObjectName getProxyFactoryObjectName()(Code)



initBootstrapListener
protected void initBootstrapListener()(Code)
Bring up the bootstrap lookup port for obtaining the naming service proxy



invoke
public Object invoke(Invocation invocation) throws Exception(Code)
Expose the Naming service via JMX to invokers.
Parameters:
  invocation - A pointer to the invocation object Return value of method invocation.
throws:
  Exception - Failed to invoke method.



setAutoDiscoveryAddress
public void setAutoDiscoveryAddress(String adAddress)(Code)



setAutoDiscoveryBindAddress
public void setAutoDiscoveryBindAddress(String address) throws UnknownHostException(Code)



setAutoDiscoveryGroup
public void setAutoDiscoveryGroup(int adGroup)(Code)



setAutoDiscoveryTTL
public void setAutoDiscoveryTTL(int ttl)(Code)



setBacklog
public void setBacklog(int backlog)(Code)



setBindAddress
public void setBindAddress(String host) throws java.net.UnknownHostException(Code)



setClusterPartition
public void setClusterPartition(ClusterPartitionMBean clusterPartition)(Code)



setDiscoveryDisabled
public void setDiscoveryDisabled(boolean disable)(Code)



setJNPServerSocketFactory
public void setJNPServerSocketFactory(String factoryClassName) throws ClassNotFoundException, InstantiationException, IllegalAccessException(Code)



setLookupPool
public void setLookupPool(BasicThreadPoolMBean poolMBean)(Code)



setPartitionName
public void setPartitionName(String partitionName)(Code)



setPort
public void setPort(int p)(Code)



setProxyFactoryObjectName
public void setProxyFactoryObjectName(ObjectName proxyFactory)(Code)



startService
public void startService(HAPartition haPartition) throws Exception(Code)



startService
protected void startService() throws Exception(Code)



stopService
protected void stopService() throws Exception(Code)



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