Package org.jboss.weld.junit
Class MockEjbInjectionServices
- java.lang.Object
-
- org.jboss.weld.junit.MockEjbInjectionServices
-
- All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Service,org.jboss.weld.injection.spi.EjbInjectionServices
public class MockEjbInjectionServices extends Object implements org.jboss.weld.injection.spi.EjbInjectionServices
- Author:
- Martin Kouba
- See Also:
AbstractWeldInitiator.AbstractBuilder.setEjbFactory(Function)
-
-
Constructor Summary
Constructors Constructor Description MockEjbInjectionServices(Function<InjectionPoint,Object> ejbFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()org.jboss.weld.injection.spi.ResourceReferenceFactory<Object>registerEjbInjectionPoint(InjectionPoint injectionPoint)
-
-
-
Constructor Detail
-
MockEjbInjectionServices
public MockEjbInjectionServices(Function<InjectionPoint,Object> ejbFactory)
-
-
Method Detail
-
cleanup
public void cleanup()
- Specified by:
cleanupin interfaceorg.jboss.weld.bootstrap.api.Service
-
registerEjbInjectionPoint
public org.jboss.weld.injection.spi.ResourceReferenceFactory<Object> registerEjbInjectionPoint(InjectionPoint injectionPoint)
- Specified by:
registerEjbInjectionPointin interfaceorg.jboss.weld.injection.spi.EjbInjectionServices
-
-