org.jboss.errai.security.rebind
Class PageSecurityCodeDecorator
java.lang.Object
org.jboss.errai.ioc.rebind.ioc.extension.IOCDecoratorExtension<Page>
org.jboss.errai.security.rebind.PageSecurityCodeDecorator
public class PageSecurityCodeDecorator
- extends IOCDecoratorExtension<Page>
Register page lifecycle listeners when pages are created.
- Author:
- Max Barkley
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageSecurityCodeDecorator
public PageSecurityCodeDecorator(Class<Page> decoratesWith)
generateDecorator
public List<? extends Statement> generateDecorator(InjectableInstance<Page> ctx)
- Description copied from class:
IOCDecoratorExtension
- The generateDecorator() method is called at the point the container has finished constructing a
reference to an element annotated with the configured annotation.
- Specified by:
generateDecorator
in class IOCDecoratorExtension<Page>
- Parameters:
ctx
- the InjectableInstance
reference, representing
the value of the element which is annotated.
- Returns:
- a list of statements to be rendered into the injector code.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.