org.apache.directory.server.ldap.support.extended
Class LaunchDiagnosticUiHandler

java.lang.Object
  extended by org.apache.directory.server.ldap.support.extended.LaunchDiagnosticUiHandler
All Implemented Interfaces:
ExtendedOperationHandler

public class LaunchDiagnosticUiHandler
extends java.lang.Object
implements ExtendedOperationHandler


Field Summary
static java.util.Set EXTENSION_OIDS
           
 
Constructor Summary
LaunchDiagnosticUiHandler()
           
 
Method Summary
 double getAspectRatio()
           
 java.awt.Point getCenteredPosition(javax.swing.JFrame frame)
           
 java.util.Set getExtensionOids()
          The OIDs of the extensions supported by this handler.
 java.lang.String getOid()
          Returns the EXTENSION_OID of the extended request this handler can handle.
 void handleExtendedOperation(IoSession requestor, SessionRegistry registry, ExtendedRequest req)
          Handles the specified extended operation.
 void setLdapProvider(LdapProtocolProvider provider)
          Sets the LDAP provider for this extendedOperation handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTENSION_OIDS

public static final java.util.Set EXTENSION_OIDS
Constructor Detail

LaunchDiagnosticUiHandler

public LaunchDiagnosticUiHandler()
Method Detail

getOid

public java.lang.String getOid()
Description copied from interface: ExtendedOperationHandler
Returns the EXTENSION_OID of the extended request this handler can handle.

Specified by:
getOid in interface ExtendedOperationHandler

handleExtendedOperation

public void handleExtendedOperation(IoSession requestor,
                                    SessionRegistry registry,
                                    ExtendedRequest req)
                             throws javax.naming.NamingException
Description copied from interface: ExtendedOperationHandler
Handles the specified extended operation.

Specified by:
handleExtendedOperation in interface ExtendedOperationHandler
Parameters:
requestor - the MINA session object related with current connection
req - the LDAP Extended operation request
Throws:
javax.naming.NamingException

getAspectRatio

public double getAspectRatio()

getCenteredPosition

public java.awt.Point getCenteredPosition(javax.swing.JFrame frame)

getExtensionOids

public java.util.Set getExtensionOids()
Description copied from interface: ExtendedOperationHandler
The OIDs of the extensions supported by this handler. This includes the request as well as any responses associated with the request. These OIDs will be registered with the server to publish them as supportedExtensions.

Specified by:
getExtensionOids in interface ExtendedOperationHandler
Returns:
the OIDs supported by this handler.

setLdapProvider

public void setLdapProvider(LdapProtocolProvider provider)
Description copied from interface: ExtendedOperationHandler
Sets the LDAP provider for this extendedOperation handler.

Specified by:
setLdapProvider in interface ExtendedOperationHandler
Parameters:
provider - the ldap protocol provider