Class JSR160MBeanServerConnectionFactory
- java.lang.Object
-
- org.codehaus.cargo.container.jonas.internal.JSR160MBeanServerConnectionFactory
-
- All Implemented Interfaces:
MBeanServerConnectionFactory
public class JSR160MBeanServerConnectionFactory extends Object implements MBeanServerConnectionFactory
JMX remoting (JSR 160) implementation to get a remote MBeanServerConnection.
-
-
Constructor Summary
Constructors Constructor Description JSR160MBeanServerConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
Destroys the factory and any underlying IO sockets.MBeanServerConnection
getServerConnection(RuntimeConfiguration configuration)
Create a new MBean server connection.
-
-
-
Method Detail
-
getServerConnection
public MBeanServerConnection getServerConnection(RuntimeConfiguration configuration) throws IOException
Create a new MBean server connection.- Specified by:
getServerConnection
in interfaceMBeanServerConnectionFactory
- Parameters:
configuration
- Runtime Configuration- Returns:
- a MBeanServerConnection
- Throws:
IOException
-
destroy
public void destroy()
Destroys the factory and any underlying IO sockets.- Specified by:
destroy
in interfaceMBeanServerConnectionFactory
-
-