public List<RecordProcessor> getRecordProcessors() { return endpoint.getRecordProcessors(); }
public List<RecordProcessor> getRecordProcessors() { return endpoint.getRecordProcessors(); }
/** * Returns true if there's at least a record processor in recording mode * * @param endpoint * @return */ private boolean isRecording(Endpoint endpoint) { List<RecordProcessor> processors = endpoint.getRecordProcessors(); if (processors == null || processors.isEmpty()) { return false; } for (RecordProcessor processor : processors) { if (processor.isRecording()) { return true; } } return false; }
/** * Returns true if there's at least a record processor in recording mode * * @param endpoint * @return */ private boolean isRecording(Endpoint endpoint) { List<RecordProcessor> processors = endpoint.getRecordProcessors(); if (processors == null || processors.isEmpty()) { return false; } for (RecordProcessor processor : processors) { if (processor.isRecording()) { return true; } } return false; }
@Override public void stop(Deployment dep) { for (Endpoint ep : dep.getService().getEndpoints()) { List<RecordProcessor> processors = ep.getRecordProcessors(); for (RecordProcessor processor : processors) { this.unregisterRecordProcessor(processor, ep); } } }
@Override public void stop(Deployment dep) { for (Endpoint ep : dep.getService().getEndpoints()) { List<RecordProcessor> processors = ep.getRecordProcessors(); for (RecordProcessor processor : processors) { this.unregisterRecordProcessor(processor, ep); } } }
@Override public void stop(final StopContext context) { WSLogger.ROOT_LOGGER.stopping(name); endpoint.getLifecycleHandler().stop(endpoint); endpoint.setSecurityDomainContext(null); unregisterEndpoint(endpoint); final List<RecordProcessor> processors = endpoint.getRecordProcessors(); for (final RecordProcessor processor : processors) { unregisterRecordProcessor(processor, endpoint); } }
@Override public void stop(final StopContext context) { WSLogger.ROOT_LOGGER.stopping(name); ServiceContainerEndpointRegistry.unregister(aliasName, endpoint); endpoint.getLifecycleHandler().stop(endpoint); endpoint.setSecurityDomainContext(null); unregisterEndpoint(endpoint); final List<RecordProcessor> processors = endpoint.getRecordProcessors(); for (final RecordProcessor processor : processors) { unregisterRecordProcessor(processor, endpoint); } }
record.setOperation((QName)ctx.get(MessageContext.WSDL_OPERATION)); boolean processEnvelope = false; for (Iterator<RecordProcessor> it = endpoint.getRecordProcessors().iterator(); it.hasNext() && !processEnvelope; )
public void setRecordProcessors(List<RecordProcessor> processors) for (RecordProcessor processor : endpoint.getRecordProcessors())
@Override public void stop(final StopContext context) { ROOT_LOGGER.stopping(name); endpoint.setSecurityDomainContext(null); if (hasWebservicesMD(endpoint)) { pclWebAppControllerValue.getValue().decrementUsers(); } endpointRegistryValue.getValue().unregister(endpoint); final List<RecordProcessor> processors = endpoint.getRecordProcessors(); for (final RecordProcessor processor : processors) { unregisterRecordProcessor(processor, endpoint); } }
record.setOperation((QName)ctx.get(MessageContext.WSDL_OPERATION)); boolean processEnvelope = false; for (Iterator<RecordProcessor> it = endpoint.getRecordProcessors().iterator(); it.hasNext() && !processEnvelope; )
record.setOperation((QName)ctx.get(MessageContext.WSDL_OPERATION)); boolean processEnvelope = false; for (Iterator<RecordProcessor> it = endpoint.getRecordProcessors().iterator(); it.hasNext() && !processEnvelope; )
@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); }
record.setOperation((QName)ctx.get(MessageContext.WSDL_OPERATION)); boolean processEnvelope = false; for (Iterator<RecordProcessor> it = endpoint.getRecordProcessors().iterator(); it.hasNext() && !processEnvelope; )
@Override public void start(final StartContext context) { WSLogger.ROOT_LOGGER.starting(name); final String domainName = (String)endpoint.getProperty(SECURITY_DOMAIN_NAME); if (isElytronSecurityDomain(endpoint, domainName)) { if (EndpointType.JAXWS_EJB3.equals(endpoint.getType())) { endpoint.setSecurityDomainContext(new ElytronSecurityDomainContextImpl(this.ejbApplicationSecurityDomain.get().getSecurityDomain())); } else { endpoint.setSecurityDomainContext(new ElytronSecurityDomainContextImpl(this.elytronSecurityDomain.get())); } } else { endpoint.setSecurityDomainContext(new SecurityDomainContextImpl(securityDomainContext.get())); } if (EndpointType.JAXWS_EJB3.equals(endpoint.getType())) { final EJBViewMethodSecurityAttributesService ejbMethodSecurityAttributeService = this.ejbMethodSecurityAttributeService.get(); endpoint.addAttachment(EJBMethodSecurityAttributeProvider.class, new EJBMethodSecurityAttributesAdaptor(ejbMethodSecurityAttributeService)); } final List<RecordProcessor> processors = endpoint.getRecordProcessors(); for (final RecordProcessor processor : processors) { registerRecordProcessor(processor, endpoint); } final EndpointMetricsFactory endpointMetricsFactory = SPIProvider.getInstance().getSPI(EndpointMetricsFactory.class); endpoint.setEndpointMetrics(endpointMetricsFactory.newEndpointMetrics()); registerEndpoint(endpoint); endpoint.getLifecycleHandler().start(endpoint); ServiceContainerEndpointRegistry.register(aliasName, endpoint); endpointConsumer.accept(endpoint); }
@Override public void start(final StartContext context) throws StartException { WSLogger.ROOT_LOGGER.starting(name); final String domainName = (String)endpoint.getProperty(SECURITY_DOMAIN_NAME); if (isElytronSecurityDomain(endpoint, domainName)) { if (EndpointType.JAXWS_EJB3.equals(endpoint.getType())) { endpoint.setSecurityDomainContext(new ElytronSecurityDomainContextImpl(this.ejbApplicationSecurityDomainValue.getValue().getSecurityDomain())); } else { endpoint.setSecurityDomainContext(new ElytronSecurityDomainContextImpl(this.elytronSecurityDomain.getValue())); } } else { endpoint.setSecurityDomainContext(new SecurityDomainContextImpl(securityDomainContextValue.getValue())); } if (EndpointType.JAXWS_EJB3.equals(endpoint.getType())) { final EJBViewMethodSecurityAttributesService ejbMethodSecurityAttributeService = ejbMethodSecurityAttributeServiceValue.getValue(); endpoint.addAttachment(EJBMethodSecurityAttributeProvider.class, new EJBMethodSecurityAttributesAdaptor(ejbMethodSecurityAttributeService)); } final List<RecordProcessor> processors = endpoint.getRecordProcessors(); for (final RecordProcessor processor : processors) { registerRecordProcessor(processor, endpoint); } final EndpointMetricsFactory factory = SPIProvider.getInstance().getSPI(EndpointMetricsFactory.class); endpoint.setEndpointMetrics(factory.newEndpointMetrics()); registerEndpoint(endpoint); endpoint.getLifecycleHandler().start(endpoint); }