Search in sources :

Example 1 with Empty$JAXB.readEmpty

use of org.apache.openejb.jee.Empty$JAXB.readEmpty 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;
}
Also used : Empty(org.apache.openejb.jee.Empty) StatelessBean(org.apache.openejb.jee.StatelessBean) Module(org.apache.openejb.testing.Module) Classes(org.apache.openejb.testing.Classes)

Example 2 with Empty$JAXB.readEmpty

use of org.apache.openejb.jee.Empty$JAXB.readEmpty 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;
}
Also used : Empty(org.apache.openejb.jee.Empty) StatelessBean(org.apache.openejb.jee.StatelessBean) Module(org.apache.openejb.testing.Module)

Example 3 with Empty$JAXB.readEmpty

use of org.apache.openejb.jee.Empty$JAXB.readEmpty 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;
}
Also used : Empty(org.apache.openejb.jee.Empty) StatelessBean(org.apache.openejb.jee.StatelessBean) Module(org.apache.openejb.testing.Module) Classes(org.apache.openejb.testing.Classes)

Example 4 with Empty$JAXB.readEmpty

use of org.apache.openejb.jee.Empty$JAXB.readEmpty 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;
}
Also used : Empty(org.apache.openejb.jee.Empty) StatefulBean(org.apache.openejb.jee.StatefulBean) Module(org.apache.openejb.testing.Module)

Example 5 with Empty$JAXB.readEmpty

use of org.apache.openejb.jee.Empty$JAXB.readEmpty in project tomee by apache.

the class LocalBeanProxySerializationTest method app.

@Module
public StatelessBean app() {
    final StatelessBean bean = new StatelessBean(SampleLocalBean.class);
    bean.setLocalBean(new Empty());
    return bean;
}
Also used : Empty(org.apache.openejb.jee.Empty) StatelessBean(org.apache.openejb.jee.StatelessBean) Module(org.apache.openejb.testing.Module)

Aggregations

Empty (org.apache.openejb.jee.Empty)20 Module (org.apache.openejb.testing.Module)19 StatelessBean (org.apache.openejb.jee.StatelessBean)13 Empty$JAXB.readEmpty (org.apache.openejb.jee.Empty$JAXB.readEmpty)10 Empty$JAXB.writeEmpty (org.apache.openejb.jee.Empty$JAXB.writeEmpty)10 Text$JAXB.readText (org.apache.openejb.jee.Text$JAXB.readText)10 Text$JAXB.writeText (org.apache.openejb.jee.Text$JAXB.writeText)10 RuntimeContext (org.metatype.sxc.jaxb.RuntimeContext)10 CollapsedStringAdapter (javax.xml.bind.annotation.adapters.CollapsedStringAdapter)7 SingletonBean (org.apache.openejb.jee.SingletonBean)6 ArrayList (java.util.ArrayList)5 QName (javax.xml.namespace.QName)5 EjbJar (org.apache.openejb.jee.EjbJar)5 Attribute (org.metatype.sxc.util.Attribute)5 XoXMLStreamReader (org.metatype.sxc.util.XoXMLStreamReader)5 EjbModule (org.apache.openejb.config.EjbModule)4 DataSource$JAXB.readDataSource (org.apache.openejb.jee.DataSource$JAXB.readDataSource)4 DataSource$JAXB.writeDataSource (org.apache.openejb.jee.DataSource$JAXB.writeDataSource)4 EjbLocalRef$JAXB.readEjbLocalRef (org.apache.openejb.jee.EjbLocalRef$JAXB.readEjbLocalRef)4 EjbLocalRef$JAXB.writeEjbLocalRef (org.apache.openejb.jee.EjbLocalRef$JAXB.writeEjbLocalRef)4