javax.management.remote.rmi
Class RMIServerImpl

java.lang.Object
  extended by javax.management.remote.rmi.RMIServerImpl
All Implemented Interfaces:
Remote, RMIServer
Direct Known Subclasses:
RMIIIOPServerImpl, RMIJRMPServerImpl

public abstract class RMIServerImpl
extends Object
implements RMIServer

Author:
Tom Elrod

Field Summary
protected static Logger log
           
 
Constructor Summary
RMIServerImpl(Map env)
           
 
Method Summary
protected  void clientClosed(RMIConnection client)
           
 void close()
           
protected abstract  void closeClient(RMIConnection client)
           
protected abstract  void closeServer()
           
protected abstract  void export()
           
 ClassLoader getDefaultClassLoader()
           
 MBeanServer getMBeanServer()
           
protected abstract  String getProtocol()
           
 String getVersion()
           
protected abstract  RMIConnection makeClient(String connectionId, Subject subject)
           
 RMIConnection newClient(Object credentials)
           
 void setDefaultClassLoader(ClassLoader cl)
           
 void setMBeanServer(MBeanServer mbs)
           
protected  void setRMIConnectorServer(RMIConnectorServer connectorServer)
           
abstract  Remote toStub()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Logger log
Constructor Detail

RMIServerImpl

public RMIServerImpl(Map env)
Method Detail

export

protected abstract void export()
                        throws IOException
Throws:
IOException

toStub

public abstract Remote toStub()
                       throws IOException
Throws:
IOException

setRMIConnectorServer

protected void setRMIConnectorServer(RMIConnectorServer connectorServer)

setDefaultClassLoader

public void setDefaultClassLoader(ClassLoader cl)

getDefaultClassLoader

public ClassLoader getDefaultClassLoader()

setMBeanServer

public void setMBeanServer(MBeanServer mbs)

getMBeanServer

public MBeanServer getMBeanServer()

getVersion

public String getVersion()
                  throws RemoteException
Specified by:
getVersion in interface RMIServer
Throws:
RemoteException

newClient

public RMIConnection newClient(Object credentials)
                        throws IOException,
                               SecurityException
Specified by:
newClient in interface RMIServer
Throws:
IOException
SecurityException

makeClient

protected abstract RMIConnection makeClient(String connectionId,
                                            Subject subject)
                                     throws IOException
Throws:
IOException

closeClient

protected abstract void closeClient(RMIConnection client)
                             throws IOException
Throws:
IOException

getProtocol

protected abstract String getProtocol()

clientClosed

protected void clientClosed(RMIConnection client)
                     throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

closeServer

protected abstract void closeServer()
                             throws IOException
Throws:
IOException


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.