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

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


org.jboss.jmx.connector
Interface ConnectorFactoryServiceMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
ConnectorFactoryService

public interface ConnectorFactoryServiceMBean
extends org.jboss.system.ServiceMBean

MBean interface.


Field Summary
static javax.management.ObjectName OBJECT_NAME
           
 
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
 
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
 String getEJBAdaptorName()
           
 String getJMSName()
           
 int getNotificationType()
           
 void removeConnection(ConnectorFactoryImpl.ConnectorName pConnector)
          Removes the given connection and frees the resources
 void setEJBAdaptorName(String pName)
          Sets the JNDI Name of the EJB-Adaptor
 void setJMSName(String pName)
          Sets the JMS Queue Factory Name which allows the server to send the notifications asynchronous to the client
 void setNotificationType(int pNotificationType)
           
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

OBJECT_NAME

public static final javax.management.ObjectName OBJECT_NAME
Method Detail

getNotificationType

public int getNotificationType()

setNotificationType

public void setNotificationType(int pNotificationType)

getJMSName

public String getJMSName()

setJMSName

public void setJMSName(String pName)
Sets the JMS Queue Factory Name which allows the server to send the notifications asynchronous to the client

Parameters:
pName - If null the notification will be transferred by using RMI Callback objects otherwise it will use JMS

getEJBAdaptorName

public String getEJBAdaptorName()

setEJBAdaptorName

public void setEJBAdaptorName(String pName)
Sets the JNDI Name of the EJB-Adaptor

Parameters:
pName - If null the default JNDI name (ejb/jmx/ejb/adaptor) will be used for EJB-Connectors otherwise it will use this one

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.