protected List getServices(Kernel kernel) throws DeploymentException {
return kernel.getServices(Endpoint.class);
}
protected List getXmlPreProcessors(String serviceUnitRootPath) {
JBIContainer container = null;
try {
container = ((ComponentContextImpl) component.getComponentContext()).getContainer();
} catch (Throwable t) { }
FileSystemRepository repository = new FileSystemRepository(new File(serviceUnitRootPath));
ClassLoaderXmlPreprocessor classLoaderXmlPreprocessor = new ClassLoaderXmlPreprocessor(repository, container);