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

ConnectorFactoryImpl (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档


org.jboss.jmx.connector
Class ConnectorFactoryImpl

java.lang.Object
  extended byorg.jboss.jmx.connector.ConnectorFactoryImpl

public class ConnectorFactoryImpl
extends Object

Factory delivering a list of servers and its available protocol connectors and after selected to initiate the connection This is just the (incomplete) interface of it

Version:
$Revision: 1.6 $
Author:
Andreas Schaefer

Nested Class Summary
static class ConnectorFactoryImpl.ConnectorName
          Container for a JMX Connector representation
static interface ConnectorFactoryImpl.IConnectorTester
          Interface defined a Connector Tester to verify JMX Connectors based on the information delivered by a JNDI server
static class ConnectorFactoryImpl.JBossConnectorTester
          Default implementation of the jBoss JMX Connector tester
 
Constructor Summary
ConnectorFactoryImpl(javax.management.MBeanServer pServer, int pNotificationType)
           
ConnectorFactoryImpl(javax.management.MBeanServer pServer, int pNotificationType, String pJMSQueueName)
           
ConnectorFactoryImpl(javax.management.MBeanServer pServer, int pNotificationType, String pJMSName, String pEJBAdaptorName)
           
 
Method Summary
 RemoteMBeanServer createConnection(ConnectorFactoryImpl.ConnectorName pConnector)
          Initiate a connection to the given server with the given protocol
 Iterator getConnectors(Hashtable pProperties, ConnectorFactoryImpl.IConnectorTester pTester)
          Look up for all registered JMX Connector at a given JNDI server
 void removeConnection(ConnectorFactoryImpl.ConnectorName pConnector)
          Removes the given connection and frees the resources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorFactoryImpl

public ConnectorFactoryImpl(javax.management.MBeanServer pServer,
                            int pNotificationType)

ConnectorFactoryImpl

public ConnectorFactoryImpl(javax.management.MBeanServer pServer,
                            int pNotificationType,
                            String pJMSQueueName)

ConnectorFactoryImpl

public ConnectorFactoryImpl(javax.management.MBeanServer pServer,
                            int pNotificationType,
                            String pJMSName,
                            String pEJBAdaptorName)
Method Detail

getConnectors

public Iterator getConnectors(Hashtable pProperties,
                              ConnectorFactoryImpl.IConnectorTester pTester)
Look up for all registered JMX Connector at a given JNDI server

Parameters:
pProperties - List of properties defining the JNDI server
pTester - Connector Tester implementation to be used
Returns:
An iterator on the list of ConnectorNames representing the found JMX Connectors

createConnection

public RemoteMBeanServer createConnection(ConnectorFactoryImpl.ConnectorName pConnector)
Initiate a connection to the given server with the given protocol

Parameters:
pConnector - Connector Name used to identify the remote JMX Connector
Returns:
JMX Connector or null if server or protocol is not supported

removeConnection

public void removeConnection(ConnectorFactoryImpl.ConnectorName pConnector)
Removes the given connection and frees the resources

Parameters:
pConnector - Connector Name used to identify the remote JMX Connector


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