org.jboss.jmx.client
Interface ConnectorFactoryServiceMBean
- All Superinterfaces:
- Service, ServiceMBean
- All Known Implementing Classes:
- ConnectorFactoryService
- public interface ConnectorFactoryServiceMBean
- extends ServiceMBean
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
- Author:
- Andreas "Mad" Schaefer
OBJECT_NAME
public static final java.lang.String OBJECT_NAME
getConnectors
public java.util.Iterator getConnectors(java.util.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 serverpTester
- Connector Tester implementation to be used- Returns:
- An iterator on the list of ConnectorNames representing
the found JMX Connectors
createConnection
public JMXConnector 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 © 2000 The JBoss Organization. All Rights Reserved.