Search in sources :

Example 1 with SimpleRegistry

use of org.mule.runtime.core.internal.registry.SimpleRegistry in project mule by mulesoft.

the class TryProcessorFactoryBeanTestCase method setUp.

@Before
public void setUp() throws RegistrationException {
    registry = new SimpleRegistry(muleContextMock, new MuleLifecycleInterceptor());
    registry.registerObject("txFactory", new TransactionFactoryLocator());
}
Also used : TransactionFactoryLocator(org.mule.runtime.core.internal.transaction.TransactionFactoryLocator) SimpleRegistry(org.mule.runtime.core.internal.registry.SimpleRegistry) MuleLifecycleInterceptor(org.mule.runtime.core.internal.lifecycle.MuleLifecycleInterceptor) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 MuleLifecycleInterceptor (org.mule.runtime.core.internal.lifecycle.MuleLifecycleInterceptor)1 SimpleRegistry (org.mule.runtime.core.internal.registry.SimpleRegistry)1 TransactionFactoryLocator (org.mule.runtime.core.internal.transaction.TransactionFactoryLocator)1