org.jmux.app
Class AppImpl

java.lang.Object
  extended by org.jmux.app.AppImpl
All Implemented Interfaces:
App

public class AppImpl
extends java.lang.Object
implements App

Author:
donaldw

Constructor Summary
AppImpl(Config config)
           
 
Method Summary
 Component getComponent(java.lang.String name)
           
 void registerComponentConfiguredListener(ComponentConfiguredListener componentConfiguredListener)
          When registering a new component configured listener, make sure we issue a call back with all previously configured components.
 void registerLifecycleListener(LifecycleListener lifecycleListener)
           
 void shutdown(int retVal)
           
 java.lang.String shutdownWithDelay(int retVal)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppImpl

public AppImpl(Config config)
Method Detail

shutdownWithDelay

public java.lang.String shutdownWithDelay(int retVal)

shutdown

public void shutdown(int retVal)
Specified by:
shutdown in interface App

getComponent

public Component getComponent(java.lang.String name)
Specified by:
getComponent in interface App

registerComponentConfiguredListener

public void registerComponentConfiguredListener(ComponentConfiguredListener componentConfiguredListener)
When registering a new component configured listener, make sure we issue a call back with all previously configured components.

Specified by:
registerComponentConfiguredListener in interface App

start

public void start()

registerLifecycleListener

public void registerLifecycleListener(LifecycleListener lifecycleListener)
Specified by:
registerLifecycleListener in interface App


Copyright © 2006-2008 jmux.org. All Rights Reserved.