|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectr01f.ejb.EJBGuiceListeners
public class EJBGuiceListeners
ver:
http://javarebel.blogspot.com.es/2010/09/injecting-ejb-to-pojo-using-google.html
http://javarebel.blogspot.com.es/2010/09/using-aspectj-with-rad.html
también ver:
http://gianluigidavassiuk.blogspot.com.es/2009/11/ejb3-plus-guice-how-exotic-part-3.html
GUICE custom injection que se encarga de ser notificada cuando guice va a inyectar en un tipo
En este caso, simplemente "busca" todos los miembros anotados con @EJB y registra
un listener
Una custom injection de GUICE requiere:
- TypeListener: es notificado cuando guice va a hacer la inyección en un tipo
- MemberInjector / InjectionListener: es notificado después de que guice inyecta una instancia
- El registro de ambos
| Nested Class Summary | |
|---|---|
static class |
EJBGuiceListeners.EJBMemberInjector<T>
Listener que "atiende" a ser notificado cuando GUICE va a inyectar una instancia |
static class |
EJBGuiceListeners.EJBTypeListener
Listener que "atiende" a ser notificado cuando GUICE va a inyectar en un objeto de un tipo |
| Constructor Summary | |
|---|---|
EJBGuiceListeners()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EJBGuiceListeners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||