org.xsocket
Interface ILifeCycle

Package class diagram package ILifeCycle
All Known Subinterfaces:
IServerListener
All Known Implementing Classes:
HandlerChain

public interface ILifeCycle

The LifeCycle defines call back methods, which notifies life cycle events

Author:
grro@xsocket.org

Method Summary
 void onDestroy()
          notifies that the entity will be destroyed
 void onInit()
          notifies that the entity has been loaded and initialized
 

Method Detail

onInit

void onInit()
notifies that the entity has been loaded and initialized


onDestroy

void onDestroy()
               throws IOException
notifies that the entity will be destroyed

Throws:
IOException - if an exception occurs. The exception will be (logged and) swallowed


Copyright 2008 xSocket.org