org.jboss.weld.injection.spi
Interface EjbInjectionServices
- All Superinterfaces:
- Service
public interface EjbInjectionServices
- extends Service
A container should implement this interface to allow Weld to
resolve EJB.
EjbInjectionServices
is a per-module service.
- Author:
- Pete Muir
Method Summary |
Object |
resolveEjb(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Resolve the value for the given @EJB injection point |
Methods inherited from interface org.jboss.weld.bootstrap.api.Service |
cleanup |
resolveEjb
Object resolveEjb(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
- Resolve the value for the given @EJB injection point
- Parameters:
injectionPoint
- the injection point metadata
- Returns:
- an instance of the EJB
- Throws:
IllegalArgumentException
- if the injection point is not annotated with @EJB, or, if the
injection point is a method that doesn't follow JavaBean
conventions
Copyright © 2013 Seam Framework. All Rights Reserved.