protected ServiceEndpoint createExternalEndpoint() { return new ExternalEndpoint(getServiceUnit().getComponent().getEPRElementName(), getLocationURI(), getService(), getEndpoint(), getInterfaceName()); }
protected ServiceEndpoint createExternalEndpoint() { return new ExternalEndpoint(getServiceUnit().getComponent().getEPRElementName(), getLocationURI(), getService(), getEndpoint(), getInterfaceName()); }
public synchronized void activate() throws Exception { super.activate(); ServiceMixComponent component = getServiceUnit().getComponent(); ComponentContext ctx = component.getComponentContext(); activated = new ExternalEndpoint(component.getEPRElementName(), getLocationURI(), getService(), getEndpoint(), getInterfaceName()); ctx.registerExternalEndpoint(activated); }