public interface JoramAdminConnectMBean
Modifier and Type | Method and Description |
---|---|
void |
connect(String name)
Creates an administration connection with default parameters, a JoramAdmin
MBean is created and registered in the given domain.
|
void |
connect(String name,
String host,
int port,
String user,
String pass)
Creates an administration connection with given parameters, a JoramAdmin
MBean is created and registered.
|
void |
exit(boolean force)
Unregisters the MBean.
|
void connect(String name) throws ConnectException, AdminException
name
- The name of the corresponding JMX domain.AdminException
- If the creation fails.ConnectException
- if the connection is closed or brokenvoid connect(String name, String host, int port, String user, String pass) throws ConnectException, AdminException
name
- The name of the corresponding JMX domain.host
- The hostname of the server.port
- The listening port of the server.user
- The login identification of the administrator.pass
- The password of the administrator.AdminException
- If the creation fails.ConnectException
- if the connection is closed or brokenvoid exit(boolean force)
force
- If true calls System.exit method.Copyright © 2013 ScalAgent D.T.. All Rights Reserved.