|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webbeans.ejb.spi.ForwardingEjbResolver
public abstract class ForwardingEjbResolver
An implementation of EjbResolver which forwards all its method calls
to another EjbResolver}. Subclasses should override one or more
methods to modify the behavior of the backing EjbResolver as desired
per the decorator pattern.
| Field Summary |
|---|
| Fields inherited from interface org.jboss.webbeans.ejb.spi.EjbResolver |
|---|
PROPERTY_NAME |
| Constructor Summary | |
|---|---|
ForwardingEjbResolver()
|
|
| Method Summary | |
|---|---|
abstract EjbResolver |
delegate()
|
boolean |
equals(java.lang.Object obj)
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getEJBAnnotation()
Get the annotation which defines an @EJB injection point |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getPersistenceContextAnnotation()
Get the annotation which defines a @PersistenceContext injection point |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getResourceAnnotation()
Get the annotation which defines a @Resource injection point |
int |
hashCode()
|
java.lang.Object |
resolveEjb(InjectionPoint injectionPoint,
NamingContext namingContext)
Resolve the value for the given @EJB injection point |
java.lang.Object |
resolvePersistenceContext(InjectionPoint injectionPoint,
NamingContext namingContext)
Resolve the value for the given @PersistenceContext injection point |
java.lang.Object |
resolveResource(InjectionPoint injectionPoint,
NamingContext namingContext)
Resolve the value for the given @Resource injection point |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForwardingEjbResolver()
| Method Detail |
|---|
public abstract EjbResolver delegate()
public java.lang.Class<? extends java.lang.annotation.Annotation> getEJBAnnotation()
EjbResolver
getEJBAnnotation in interface EjbResolverpublic java.lang.Class<? extends java.lang.annotation.Annotation> getPersistenceContextAnnotation()
EjbResolver
getPersistenceContextAnnotation in interface EjbResolverpublic java.lang.Class<? extends java.lang.annotation.Annotation> getResourceAnnotation()
EjbResolver
getResourceAnnotation in interface EjbResolver
public java.lang.Object resolveEjb(InjectionPoint injectionPoint,
NamingContext namingContext)
EjbResolver
resolveEjb in interface EjbResolverinjectionPoint - the injection point metadata
public java.lang.Object resolvePersistenceContext(InjectionPoint injectionPoint,
NamingContext namingContext)
EjbResolver
resolvePersistenceContext in interface EjbResolverinjectionPoint - the injection point metadatanamingContext - the pluggable Web Beans JNDI lookup facility
public java.lang.Object resolveResource(InjectionPoint injectionPoint,
NamingContext namingContext)
EjbResolver
resolveResource in interface EjbResolverinjectionPoint - the injection point metadatanamingContext - the pluggable Web Beans JNDI lookup facility
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||