assertTrue(srv.isInitialized());
}
}
private ServiceEndpoint registerEndpoint() throws JBIException {
TestComponent component = new TestComponent(SERVICE, ENDPOINT);
container.activateComponent(new ActivationSpec(COMPONENT, component));
return container.getEndpoint((ComponentContextImpl)component.getContext(), SERVICE, ENDPOINT);
}