|
Joram 5.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JoramAdminConnectMBean
Allows the creation of JoramAdmin instances connected to servers.
Method Summary | |
---|---|
void |
connect(java.lang.String name)
Creates an administration connection with default parameters, a JoramAdmin MBean is created and registered in the given domain. |
void |
connect(java.lang.String name,
java.lang.String host,
int port,
java.lang.String user,
java.lang.String pass)
Creates an administration connection with given parameters, a JoramAdmin MBean is created and registered. |
void |
exit(boolean force)
Unregisters the MBean. |
Method Detail |
---|
void connect(java.lang.String name) throws java.net.ConnectException, AdminException
name
- The name of the corresponding JMX domain.
AdminException
- If the creation fails.
java.net.ConnectException
- if the connection is closed or brokenvoid connect(java.lang.String name, java.lang.String host, int port, java.lang.String user, java.lang.String pass) throws java.net.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.
java.net.ConnectException
- if the connection is closed or brokenvoid exit(boolean force)
force
- If true calls System.exit method.
|
Joram 5.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |