aerogear-controller 1.0.1

org.jboss.aerogear.controller.cdi
Class AGExtension

java.lang.Object
  extended by 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.


Constructor Summary
AGExtension()
           
 
Method Summary
(package private)
<T> void
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
 

Constructor Detail

AGExtension

public AGExtension()
Method Detail

processAnnotatedType

<T> void processAnnotatedType(@Observes
                              javax.enterprise.inject.spi.ProcessAnnotatedType<T> pat)
                    throws SecurityException
Throws:
SecurityException

aerogear-controller 1.0.1

Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.