use of org.apache.openejb.arquillian.common.TestClassDiscoverer in project tomee by apache.
the class EmbeddedTomEEContainer method start.
@Override
public void start() throws LifecycleException {
try {
this.container.start();
SystemInstance.get().setComponent(AdditionalBeanDiscoverer.class, new TestClassDiscoverer());
// this property is not mandatory by default but depending the protocol it can be relevant so adding it by default
SystemInstance.get().setProperty("org.apache.openejb.servlet.filters", ArquillianFilterRunner.class.getName() + "=/ArquillianServletRunner");
} catch (final Exception e) {
throw new LifecycleException("Something went wrong", e);
}
}
Aggregations