use of org.apache.openejb.jee.Empty in project tomee by apache.
the class StatefulJPATest method app.
@Module
public StatefulBean app() throws Exception {
final StatefulBean bean = new StatefulBean(AStateful.class);
bean.setLocalBean(new Empty());
return bean;
}
use of org.apache.openejb.jee.Empty in project tomee by apache.
the class ThisInConstructorTest method bean.
@Module
public StatelessBean bean() {
final StatelessBean bean = new StatelessBean(AStatelessWithAConstructor.class);
bean.setLocalBean(new Empty());
return bean;
}
use of org.apache.openejb.jee.Empty in project tomee by apache.
the class StatelessWithAroundInvokeOnlyTest method bean.
@Module
@Classes(cdi = true)
public StatelessBean bean() {
final StatelessBean bean = new StatelessBean(StatelessTestBean.class);
bean.setLocalBean(new Empty());
return bean;
}
use of org.apache.openejb.jee.Empty in project tomee by apache.
the class AppComposerAsJUnitRuleTest method app.
@Module
public StatelessBean app() throws Exception {
final StatelessBean bean = new StatelessBean(PersistManager.class);
bean.setLocalBean(new Empty());
return bean;
}
use of org.apache.openejb.jee.Empty in project tomee by apache.
the class BasicInjectionTest method app.
@Module
@Classes(cdi = true, value = { Configuration.class })
public StatelessBean app() throws Exception {
final StatelessBean bean = new StatelessBean(WidgetBean.class);
bean.setLocalBean(new Empty());
return bean;
}
Aggregations