ComponentContext ctx = this.serviceUnit.getComponent().getComponentContext();
activated = ctx.activateEndpoint(service, endpoint);
}
public void deactivate() throws Exception {
ComponentContext ctx = this.serviceUnit.getComponent().getComponentContext();
ctx.deactivateEndpoint(activated);
activated = null;
}
public ExchangeProcessor getProcessor() {
return this;
}