public void start(Deployment dep) { SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider(); if (registry == null) registry = spiProvider.getSPI(EndpointRegistryFactory.class).getEndpointRegistry(); for (Endpoint ep : dep.getService().getEndpoints()) { registry.register(ep); } }
@Override public void start(final StartContext context) throws StartException { ROOT_LOGGER.starting(name); endpoint.setSecurityDomainContext(new SecurityDomainContextAdaptor(securityDomainContextValue.getValue())); if (hasWebservicesMD(endpoint)) { //basically JAX-RPC deployments require the PortComponentLinkServlet to be available pclWebAppControllerValue.getValue().incrementUsers(); } final List<RecordProcessor> processors = endpoint.getRecordProcessors(); for (final RecordProcessor processor : processors) { registerRecordProcessor(processor, endpoint); } endpointRegistryValue.getValue().register(endpoint); }