Java EE 5 SDK

com.sun.appserv.management.client
Class AdminRMISSLClientSocketFactoryEnvImpl

java.lang.Object
  extended by com.sun.appserv.management.client.AdminRMISSLClientSocketFactoryEnvImpl

public final class AdminRMISSLClientSocketFactoryEnvImpl
extends Object

Not for public use

Class which encapsulates knowledge of how to exchange data between the RMISSLClientSocketFactory stub and the JVM into which it gets downloaded.

The client code configures this class so the RMI client stub may obtain any environmental overrides, thus enabling the client to control how the RMI stub behaves.

This class is global for all outgoing connections for RMI.


Method Summary
 HandshakeCompletedListener getHandshakeCompletedListener()
           
static AdminRMISSLClientSocketFactoryEnvImpl getInstance()
           
 boolean getTrace()
           
 TrustManager[] getTrustManagers()
           
 Object getValue(String key)
           
 void setHandshakeCompletedListener(HandshakeCompletedListener listener)
          Set a HandshakeCompletedListener (optional).
 void setTrace(boolean trace)
          Set tracing on or off.
 void setTrustManagers(TrustManager[] trustManagers)
          Set the TrustManagers.
 Object setValue(String key, Object value)
          No values are currently supported; this routine exists for future extensions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static AdminRMISSLClientSocketFactoryEnvImpl getInstance()

getValue

public Object getValue(String key)

setValue

public Object setValue(String key,
                       Object value)
No values are currently supported; this routine exists for future extensions.

Parameters:
key -
value -

setTrustManagers

public void setTrustManagers(TrustManager[] trustManagers)
Set the TrustManagers. Removes any existing trust-store and trust-store password as the TrustManagers will be used instead.

Parameters:
trustManagers -

getTrustManagers

public TrustManager[] getTrustManagers()

setHandshakeCompletedListener

public void setHandshakeCompletedListener(HandshakeCompletedListener listener)
Set a HandshakeCompletedListener (optional).

Parameters:
listener -

getHandshakeCompletedListener

public HandshakeCompletedListener getHandshakeCompletedListener()

setTrace

public void setTrace(boolean trace)
Set tracing on or off.

Parameters:
trace -

getTrace

public boolean getTrace()

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.