public interface EjbInjectionServices extends Service
EjbInjectionServices is a per-module service.| Modifier and Type | Method and Description |
|---|---|
ResourceReferenceFactory<Object> |
registerEjbInjectionPoint(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Register an EJB injection point.
|
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 metadatajavax.enterprise.inject.spi.DefinitionException - if the injection point is not annotated with @EJB, if the injection point is a method that
doesn't follow JavaBean conventions or if the injection point type does not match the EJB typeIllegalStateException - if no suitable EJB can be resolvedCopyright © 2008–2019. All rights reserved.