fr.ifremer.wao.ui.services
Class AppModule
java.lang.Object
fr.ifremer.wao.ui.services.AppModule
public class AppModule
- extends Object
This module is automatically included as part of the Tapestry IoC Registry,
it's a good place to configure and extend Tapestry, or to place your own
service definitions.
- Version:
- $Id: AppModule.java 2766 2009-08-27 16:29:23Z nrannou $
|
Method Summary |
static void |
bind(org.apache.tapestry5.ioc.ServiceBinder binder)
|
org.apache.tapestry5.ioc.services.RegistryShutdownListener |
buildWaoShutdown(org.apache.tapestry5.ioc.services.RegistryShutdownHub hub)
This is the Shutdown service definition. |
static void |
contributeApplicationDefaults(org.apache.tapestry5.ioc.MappedConfiguration<String,String> configuration)
|
void |
contributeApplicationStateManager(org.apache.tapestry5.ioc.MappedConfiguration<Class<?>,org.apache.tapestry5.services.ApplicationStateContribution> configuration)
Used to instanciate SessionState WaoUser when session expires. |
static void |
contributeRegistryStartup(org.apache.tapestry5.ioc.OrderedConfiguration<Runnable> configuration)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppModule
public AppModule()
bind
public static void bind(org.apache.tapestry5.ioc.ServiceBinder binder)
contributeApplicationDefaults
public static void contributeApplicationDefaults(org.apache.tapestry5.ioc.MappedConfiguration<String,String> configuration)
buildWaoShutdown
@EagerLoad
public org.apache.tapestry5.ioc.services.RegistryShutdownListener buildWaoShutdown(@InjectService(value="RegistryShutdownHub")
org.apache.tapestry5.ioc.services.RegistryShutdownHub hub)
- This is the Shutdown service definition. This service is used when the
server shutdown. It detects the Tapestry registry shutdown.
- Parameters:
hub -
- Returns:
contributeRegistryStartup
public static void contributeRegistryStartup(org.apache.tapestry5.ioc.OrderedConfiguration<Runnable> configuration)
contributeApplicationStateManager
public void contributeApplicationStateManager(org.apache.tapestry5.ioc.MappedConfiguration<Class<?>,org.apache.tapestry5.services.ApplicationStateContribution> configuration)
- Used to instanciate SessionState WaoUser when session expires.
- Parameters:
configuration - to add the ApplicationStateCreator.
Copyright © 2009-2010 Ifremer. All Rights Reserved.