org.jboss.aerogear.controller.cdi
Class AGExtension
java.lang.Object
org.jboss.aerogear.controller.cdi.AGExtension
- All Implemented Interfaces:
- javax.enterprise.inject.spi.Extension
public class AGExtension
- extends Object
- implements javax.enterprise.inject.spi.Extension
AGExtension is a CDI extension that verifies that Responder implementations in AeroGear Controller
have a no-args constructor.
If a Responder implementation does not have a no-args constructor an error upon deployment will be raised
to fail early and make the user aware of this condition. If this check is not performed the Responder would simply
not be picked up by CDI and trouble shooting the cause becomes difficult.
|
Method Summary |
(package private)
|
processAnnotatedType(javax.enterprise.inject.spi.ProcessAnnotatedType<T> pat)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AGExtension
public AGExtension()
processAnnotatedType
<T> void processAnnotatedType(@Observes
javax.enterprise.inject.spi.ProcessAnnotatedType<T> pat)
throws SecurityException
- Throws:
SecurityException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.