EntryPoint ep = MockFactory.createEPSystemBinding("TestService1EP", ModuleScopeSystemComponent.class, "TestService1", component);
childContext.registerModelObject(component);
childContext.registerModelObject(ep);
childContext.publish(new ModuleStart(this));
Assert.assertNotNull(system.getContext("system.child").getInstance(new QualifiedName("./TestService1EP")));
childContext.publish(new ModuleStop(this));
}
public void testAutowireRegisterBeforeStart() throws Exception {
Component component = factory.createSystemComponent("TestService1", ModuleScopeSystemComponent.class, ModuleScopeSystemComponentImpl.class, Scope.MODULE);
EntryPoint ep = MockFactory.createEPSystemBinding("TestService1EP", ModuleScopeSystemComponent.class, "TestService1", component);