public class UncaughtExceptionDecorator extends IOCDecoratorExtension<UncaughtException>
InitializationCallback
that registers an GWT.UncaughtExceptionHandler
with the client side message bus.Constructor and Description |
---|
UncaughtExceptionDecorator(Class<UncaughtException> decoratesWith) |
Modifier and Type | Method and Description |
---|---|
List<? extends Statement> |
generateDecorator(InjectableInstance<UncaughtException> ctx)
The generateDecorator() method is called at the point the container has finished constructing a
reference to an element annotated with the configured annotation.
|
decoratesWith
public UncaughtExceptionDecorator(Class<UncaughtException> decoratesWith)
public List<? extends Statement> generateDecorator(InjectableInstance<UncaughtException> ctx)
IOCDecoratorExtension
generateDecorator
in class IOCDecoratorExtension<UncaughtException>
ctx
- the InjectableInstance
reference, representing
the value of the element which is annotated.Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.