|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EjbInjectionServices
A container should implement this interface to allow Weld to
resolve EJB.
EjbInjectionServices is a per-module service.
| Method Summary | |
|---|---|
ResourceReferenceFactory<Object> |
registerEjbInjectionPoint(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Register an EJB injection point. |
Object |
resolveEjb(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Deprecated. Instead of calling this method at runtime, Weld should register every EJB injection point at bootstrap using registerEjbInjectionPoint(InjectionPoint)
and use the returned factory for producing injectable instances at runtime. |
| Methods inherited from interface org.jboss.weld.bootstrap.api.Service |
|---|
cleanup |
| Method Detail |
|---|
ResourceReferenceFactory<Object> registerEjbInjectionPoint(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
ResourceReferenceFactory is returned which may be used at runtime for creating instances of the resource.
injectionPoint - the injection point metadata
IllegalArgumentException - if the injection point is not annotated with @EJB, or, if the
injection point is a method that doesn't follow JavaBean
conventions
IllegalStateException - if no suitable EJB can be resolved@Deprecated Object resolveEjb(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
registerEjbInjectionPoint(InjectionPoint)
and use the returned factory for producing injectable instances at runtime.
injectionPoint - the injection point metadata
IllegalArgumentException - if the injection point is not annotated with @EJB, or, if the
injection point is a method that doesn't follow JavaBean
conventions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||