Skip navigation links


com.essbase.eas.essbase.defs.event
Class ServerAdapter

java.lang.Object
  extended by com.essbase.eas.essbase.defs.event.ServerAdapter

All Implemented Interfaces:
ServerListener, java.util.EventListener

public abstract class ServerAdapter
extends java.lang.Object
implements ServerListener

An abstract adapter class for receiving server events. The methods in this class are empty. This class exists as convenience for creating listener objects. Extend this class to create a ServerEvent listener and override the methods for the events of interest. (If you implement the ServerListener interface, you have to define all of the methods in it. This abstract class defines null methods for them all, so you can only have to define methods for events you care about.) Create a listener object using your class and then register it with a server using the server's addServerListener method. When the server's name, or collection of applications change, the relevant method in the listener object is invoked, and the ServerEvent is passed to it.

Version:
1.00, 09/13/2000
Author:
Hank Cox
See Also:
ServerEvent

Constructor Summary
ServerAdapter()
           

 

Method Summary
 void serverApplicationAdded(ServerEvent e)
          Invoked when an application is added to a server.
 void serverApplicationRemoved(ServerEvent e)
          Invoked when an application is removed from a server.
 void serverApplicationsAdded(ServerEvent e)
           
 void serverConnected(ServerEvent e)
          Invoked when a server is connected.
 void serverDisconnected(ServerEvent e)
          Invoked when a server is disconnected.
 void serverDisconnecting(ServerEvent e)
          Invoked when a server is disconnecting.
 void serverFunctionAdded(ServerEvent e)
          Invoked when a Function is added to a server.
 void serverFunctionModified(ServerEvent e)
          Invoked when a server function is added modified.
 void serverFunctionRemoved(ServerEvent e)
          Invoked when a Function is removed a server.
 void serverGroupAdded(ServerEvent e)
          Invoked when an Group is added to a server.
 void serverGroupRemoved(ServerEvent e)
          Invoked when an Group is removed from a server.
 void serverMacroAdded(ServerEvent e)
          Invoked when a Macro is added to a server.
 void serverMacroModified(ServerEvent e)
          Invoked when a server macro is added modified.
 void serverMacroRemoved(ServerEvent e)
          Invoked when a Macro is removed a server.
 void serverRenamed(ServerEvent e)
          Invoked when a server is renamed.
 void serverUserAdded(ServerEvent e)
          Invoked when an User is added to a server.
 void serverUserModified(ServerEvent e)
          Invoked when an User is modified to a server.
 void serverUserRemoved(ServerEvent e)
          Invoked when an User is removed from a server.
 void serverUsersAdded(ServerEvent e)
           
 void serverVariableAdded(ServerEvent e)
          Invoked when a variable is added to a server.
 void serverVariableModified(ServerEvent e)
          Invoked when a variable is modified from a server.
 void serverVariableRemoved(ServerEvent e)
          Invoked when a variable is removed from a server.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ServerAdapter

public ServerAdapter()

Method Detail

serverRenamed

public void serverRenamed(ServerEvent e)
Invoked when a server is renamed.
Specified by:
serverRenamed in interface ServerListener

serverDisconnecting

public void serverDisconnecting(ServerEvent e)
Invoked when a server is disconnecting.
Specified by:
serverDisconnecting in interface ServerListener

serverDisconnected

public void serverDisconnected(ServerEvent e)
Invoked when a server is disconnected.
Specified by:
serverDisconnected in interface ServerListener

serverConnected

public void serverConnected(ServerEvent e)
Invoked when a server is connected.
Specified by:
serverConnected in interface ServerListener

serverApplicationAdded

public void serverApplicationAdded(ServerEvent e)
Invoked when an application is added to a server.
Specified by:
serverApplicationAdded in interface ServerListener

serverApplicationsAdded

public void serverApplicationsAdded(ServerEvent e)
Specified by:
serverApplicationsAdded in interface ServerListener

serverApplicationRemoved

public void serverApplicationRemoved(ServerEvent e)
Invoked when an application is removed from a server.
Specified by:
serverApplicationRemoved in interface ServerListener

serverUserAdded

public void serverUserAdded(ServerEvent e)
Invoked when an User is added to a server.
Specified by:
serverUserAdded in interface ServerListener

serverUserModified

public void serverUserModified(ServerEvent e)
Invoked when an User is modified to a server.
Specified by:
serverUserModified in interface ServerListener

serverUsersAdded

public void serverUsersAdded(ServerEvent e)
Specified by:
serverUsersAdded in interface ServerListener

serverUserRemoved

public void serverUserRemoved(ServerEvent e)
Invoked when an User is removed from a server.
Specified by:
serverUserRemoved in interface ServerListener

serverGroupAdded

public void serverGroupAdded(ServerEvent e)
Invoked when an Group is added to a server.
Specified by:
serverGroupAdded in interface ServerListener

serverGroupRemoved

public void serverGroupRemoved(ServerEvent e)
Invoked when an Group is removed from a server.
Specified by:
serverGroupRemoved in interface ServerListener

serverMacroAdded

public void serverMacroAdded(ServerEvent e)
Invoked when a Macro is added to a server.
Specified by:
serverMacroAdded in interface ServerListener

serverMacroModified

public void serverMacroModified(ServerEvent e)
Invoked when a server macro is added modified.
Specified by:
serverMacroModified in interface ServerListener

serverMacroRemoved

public void serverMacroRemoved(ServerEvent e)
Invoked when a Macro is removed a server.
Specified by:
serverMacroRemoved in interface ServerListener

serverFunctionAdded

public void serverFunctionAdded(ServerEvent e)
Invoked when a Function is added to a server.
Specified by:
serverFunctionAdded in interface ServerListener

serverFunctionRemoved

public void serverFunctionRemoved(ServerEvent e)
Invoked when a Function is removed a server.
Specified by:
serverFunctionRemoved in interface ServerListener

serverFunctionModified

public void serverFunctionModified(ServerEvent e)
Invoked when a server function is added modified.
Specified by:
serverFunctionModified in interface ServerListener

serverVariableAdded

public void serverVariableAdded(ServerEvent e)
Invoked when a variable is added to a server.
Specified by:
serverVariableAdded in interface ServerListener

serverVariableRemoved

public void serverVariableRemoved(ServerEvent e)
Invoked when a variable is removed from a server.
Specified by:
serverVariableRemoved in interface ServerListener

serverVariableModified

public void serverVariableModified(ServerEvent e)
Invoked when a variable is modified from a server.
Specified by:
serverVariableModified in interface ServerListener

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.