mx4j.remote.resolver.iiop

Class Resolver


public class Resolver
extends Resolver

Version:
$Revision: 1.1 $

Method Summary

Object
bindClient(Object client, Map environment)
Connects the client returned by ConnectionResolver.lookupClient(JMXServiceURL,Map) to the server side.
javax.management.remote.JMXServiceURL
bindServer(Object server, javax.management.remote.JMXServiceURL url, Map environment)
Binds the server created by ConnectionResolver.createServer(JMXServiceURL,Map) to a place specified by the JMXServiceURL.
protected javax.management.remote.rmi.RMIServerImpl
createRMIServer(javax.management.remote.JMXServiceURL url, Map environment)
protected javax.management.remote.rmi.RMIServer
decodeStub(javax.management.remote.JMXServiceURL url, Map environment)
void
destroyServer(Object server, javax.management.remote.JMXServiceURL url, Map environment)
Destroys the server created by ConnectionResolver.createServer(JMXServiceURL,Map), by cleaning up resources it may have requested at creation time
protected String
encodeStub(javax.management.remote.rmi.RMIServerImpl rmiServer, Map environment)
protected boolean
isEncodedForm(javax.management.remote.JMXServiceURL url)
protected javax.management.remote.rmi.RMIServer
narrowRMIServerStub(Object stub)

Methods inherited from class mx4j.remote.resolver.rmi.Resolver

bindClient, bindServer, createRMIServer, createServer, decodeStub, destroyServer, encodeStub, isEncodedForm, lookupClient, lookupRMIServerStub, narrowRMIServerStub, unbindServer

Methods inherited from class mx4j.remote.ConnectionResolver

bindClient, bindServer, createServer, destroyServer, lookupClient, newConnectionResolver, unbindServer

Methods inherited from class mx4j.remote.ProviderHelper

constructClassName, findSystemPackageList, getLogger, loadClass, normalizeProtocol

Method Details

bindClient

public Object bindClient(Object client,
                         Map environment)
            throws IOException
Overrides:
bindClient in interface Resolver
Returns:
An object of the same type as the client passed in; normally the client object itself

bindServer

public javax.management.remote.JMXServiceURL bindServer(Object server,
                                                        javax.management.remote.JMXServiceURL url,
                                                        Map environment)
            throws IOException
Overrides:
bindServer in interface Resolver
Returns:
a new JMXServiceURL that specifies where the server has been bound to.

createRMIServer

protected javax.management.remote.rmi.RMIServerImpl createRMIServer(javax.management.remote.JMXServiceURL url,
                                                                    Map environment)
            throws IOException
Overrides:
createRMIServer in interface Resolver

decodeStub

protected javax.management.remote.rmi.RMIServer decodeStub(javax.management.remote.JMXServiceURL url,
                                                           Map environment)
            throws IOException
Overrides:
decodeStub in interface Resolver

destroyServer

public void destroyServer(Object server,
                          javax.management.remote.JMXServiceURL url,
                          Map environment)
            throws IOException
Destroys the server created by ConnectionResolver.createServer(JMXServiceURL,Map), by cleaning up resources it may have requested at creation time
Overrides:
destroyServer in interface Resolver

encodeStub

protected String encodeStub(javax.management.remote.rmi.RMIServerImpl rmiServer,
                            Map environment)
            throws IOException
Overrides:
encodeStub in interface Resolver

isEncodedForm

protected boolean isEncodedForm(javax.management.remote.JMXServiceURL url)
Overrides:
isEncodedForm in interface Resolver

narrowRMIServerStub

protected javax.management.remote.rmi.RMIServer narrowRMIServerStub(Object stub)
Overrides:
narrowRMIServerStub in interface Resolver

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.