QuickServer
v1.4.7

org.quickserver.util.xmlreader
Class InitServerHooks

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

public class InitServerHooks
extends java.util.ArrayList

This class encapsulate the init Server Hooks. Called just after server loads the xml configuration file. Can be using to set up loggers. The example xml is

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

Since:
1.4
Author:
Akshathkumar Shetty
See Also:
InitServerHook, ServerHooks, Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
InitServerHooks()
           
 
Method Summary
 void addClassName(java.lang.String className)
          Addes the class to init 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

InitServerHooks

public InitServerHooks()
Method Detail

addClassName

public void addClassName(java.lang.String className)
Addes the class to init 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