Package | Description |
---|---|
mx4j.tools.remote | |
mx4j.tools.remote.http |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnection
Implementation of the Connection interface, to be used on the server-side end of the connection.
|
class |
JMXConnectionHandler
This handler manages the operations related to the connection itself, such as
JMXConnectionHandler.close() , AbstractConnection.getConnectionId() . |
Modifier and Type | Method and Description |
---|---|
Connection |
AbstractConnectionManager.connect(java.lang.Object credentials)
Implemented using the template method pattern, it handles authentication, creation of the connection ID,
emission of connection notification of type "opened".
|
Connection |
ConnectionManager.connect(java.lang.Object credentials)
Factory method that creates connections that are specific to the client that invoked this method.
|
protected abstract Connection |
AbstractConnectionManager.doConnect(java.lang.String connectionId,
javax.security.auth.Subject subject)
Template method to be implemented by subclasses; must return the server-side part of
a connection.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractConnectionManager.closeConnection(Connection connection)
Implemented using the template method pattern, handles the emission of the connection notification
of type "closed".
|
void |
ConnectionManager.closeConnection(Connection connection)
Closes the given Connection.
|
protected abstract void |
AbstractConnectionManager.doCloseConnection(Connection connection)
Closes the given Connection.
|
Modifier and Type | Class and Description |
---|---|
class |
HTTPConnectionHandler |
Modifier and Type | Method and Description |
---|---|
protected Connection |
HTTPConnectionManager.doConnect(java.lang.String connectionId,
javax.security.auth.Subject subject) |
protected Connection |
HTTPService.findConnection() |
Modifier and Type | Method and Description |
---|---|
protected void |
HTTPService.addConnection(Connection connection) |
protected void |
HTTPConnectionManager.doCloseConnection(Connection connection)
HTTPConnectionManager does not really manages connections,
so this method does nothing by default
|
protected void |
HTTPService.removeConnection(Connection connection) |