net.customware.gwt.dispatch.server.guice
Class GuiceLazyActionHandlerRegistry
java.lang.Object
net.customware.gwt.dispatch.server.LazyActionHandlerRegistry
net.customware.gwt.dispatch.server.guice.GuiceLazyActionHandlerRegistry
- All Implemented Interfaces:
- ActionHandlerRegistry, ClassActionHandlerRegistry
public class GuiceLazyActionHandlerRegistry
- extends LazyActionHandlerRegistry
This will use Guice to create instances of registered ActionHandlers
on in a lazy manner. That is, they are only created upon the first request of
a handler for the Action it is registered with, rather than requiring
the class to be constructed when the registry is initialised.
- Author:
- David Peterson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuiceLazyActionHandlerRegistry
@Inject
public GuiceLazyActionHandlerRegistry(com.google.inject.Injector injector)
createInstance
protected ActionHandler<?,?> createInstance(Class<? extends ActionHandler<?,?>> handlerClass)
- Overrides:
createInstance in class LazyActionHandlerRegistry
Copyright © 2011 customware.net. All Rights Reserved.