| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A source of an MBeanServerConnection.
AppserverConnectionSource, 
MBeanServerConnectionConnectionSource, 
MBeanServerConnectionSource| Method Summary | |
|  MBeanServerConnection | getExistingMBeanServerConnection() | 
|  javax.management.remote.JMXConnector | getJMXConnector(boolean forceNew) | 
|  MBeanServerConnection | getMBeanServerConnection(boolean forceNew)Return a valid MBeanServerConnection, making a new connection if necessary, or returning an existing one if still valid. | 
| Method Detail | 
public MBeanServerConnection getMBeanServerConnection(boolean forceNew)
                                               throws java.io.IOException
Should not be called frequently, as the check for validity will make a remote call.
An implementation may choose to ignore the 'forceNew' parameter and always return the same connection.
forceNew - creates a new connection instead of reusing an existing one
java.io.IOExceptionpublic MBeanServerConnection getExistingMBeanServerConnection()
public javax.management.remote.JMXConnector getJMXConnector(boolean forceNew)
                                                     throws java.io.IOException
java.io.IOException| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.