QuickServer
v1.4.7

org.quickserver.util.xmlreader
Class ServerHooks

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byorg.quickserver.util.xmlreader.ServerHooks
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class ServerHooks
extends java.util.ArrayList

This class encapsulate the Server Hooks. These are event listeners to the QuickServer. The example xml is

        ....
        <server-hooks>
                <class-name>package1.Class1</class-name>
                <class-name>package1.Class2</class-name>
        </server-hooks>
        ....
 

Since:
1.3.3
Author:
Akshathkumar Shetty
See Also:
ServerHook, InitServerHooks, Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ServerHooks()
           
 
Method Summary
 void addClassName(java.lang.String className)
          Addes the class to server hooks
 java.lang.String toXML(java.lang.String pad)
          Returns XML config of this class.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

ServerHooks

public ServerHooks()
Method Detail

addClassName

public void addClassName(java.lang.String className)
Addes the class to server hooks


toXML

public java.lang.String toXML(java.lang.String pad)
Returns XML config of this class.


QuickServer
v1.4.7

Copyright © 2003-2006 QuickServer.org