Package org.jboss.as.webservices.publish
Class EndpointPublisherImpl
java.lang.Object
org.jboss.as.webservices.publish.EndpointPublisherImpl
- All Implemented Interfaces:
org.jboss.wsf.spi.publish.EndpointPublisher
public final class EndpointPublisherImpl
extends Object
implements org.jboss.wsf.spi.publish.EndpointPublisher
WS endpoint publisher, allows for publishing a WS endpoint on AS 7
- Author:
- alessio.soldano@jboss.com
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEndpointPublisherImpl(boolean runningInService) protectedEndpointPublisherImpl(WebHost host) protectedEndpointPublisherImpl(WebHost host, boolean runningInService) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy(org.jboss.wsf.spi.publish.Context context) protected voiddoDeploy(org.jboss.msc.service.ServiceTarget target, org.jboss.as.server.deployment.DeploymentUnit unit) Triggers the WS deployment aspects, which process the deployment and install the endpoint services.protected org.jboss.as.server.deployment.DeploymentUnitdoPrepare(String context, ClassLoader loader, Map<String, String> urlPatternToClassNameMap, org.jboss.metadata.web.jboss.JBossWebMetaData jbwmd, org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData metadata, org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData jbwsMetadata, org.jboss.as.controller.capability.CapabilityServiceSupport capabilityServiceSupport) Prepare the ws Deployment and return a DeploymentUnit containing itprotected org.jboss.wsf.spi.publish.ContextdoPublish(org.jboss.msc.service.ServiceTarget target, org.jboss.as.server.deployment.DeploymentUnit unit) Publish the webapp for the WS deployment unitorg.jboss.wsf.spi.publish.Contextorg.jboss.wsf.spi.publish.Contextpublish(String context, ClassLoader loader, Map<String, String> urlPatternToClassNameMap, org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData metadata) org.jboss.wsf.spi.publish.Contextpublish(String context, ClassLoader loader, Map<String, String> urlPatternToClassNameMap, org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData metadata, org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData jbwsMetadata) protected org.jboss.wsf.spi.publish.Contextpublish(org.jboss.msc.service.ServiceTarget target, String context, ClassLoader loader, Map<String, String> urlPatternToClassNameMap, org.jboss.metadata.web.jboss.JBossWebMetaData jbwmd, org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData metadata, org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData jbwsMetadata, org.jboss.as.controller.capability.CapabilityServiceSupport capabilityServiceSupport) protected voidstopWebApp(org.jboss.wsf.spi.deployment.Deployment deployment) Stops the webapp serving the provided ws deploymentprotected voidundeploy(org.jboss.as.server.deployment.DeploymentUnit unit) Triggers the WS deployment aspects, which process the deployment unit and stop the endpoint services.protected voidundeploy(org.jboss.wsf.spi.deployment.Deployment deployment)
-
Constructor Details
-
EndpointPublisherImpl
-
EndpointPublisherImpl
-
EndpointPublisherImpl
protected EndpointPublisherImpl(boolean runningInService)
-
-
Method Details
-
publish
public org.jboss.wsf.spi.publish.Context publish(String context, ClassLoader loader, Map<String, String> urlPatternToClassNameMap) throws Exception- Specified by:
publishin interfaceorg.jboss.wsf.spi.publish.EndpointPublisher- Throws:
Exception
-
publish
public org.jboss.wsf.spi.publish.Context publish(String context, ClassLoader loader, Map<String, String> urlPatternToClassNameMap, org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData metadata) throws Exception- Specified by:
publishin interfaceorg.jboss.wsf.spi.publish.EndpointPublisher- Throws:
Exception
-
publish
public org.jboss.wsf.spi.publish.Context publish(String context, ClassLoader loader, Map<String, String> urlPatternToClassNameMap, org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData metadata, org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData jbwsMetadata) throws Exception- Specified by:
publishin interfaceorg.jboss.wsf.spi.publish.EndpointPublisher- Throws:
Exception
-
publish
protected org.jboss.wsf.spi.publish.Context publish(org.jboss.msc.service.ServiceTarget target, String context, ClassLoader loader, Map<String, String> urlPatternToClassNameMap, org.jboss.metadata.web.jboss.JBossWebMetaData jbwmd, org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData metadata, org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData jbwsMetadata, org.jboss.as.controller.capability.CapabilityServiceSupport capabilityServiceSupport) throws Exception- Throws:
Exception
-
doPrepare
protected org.jboss.as.server.deployment.DeploymentUnit doPrepare(String context, ClassLoader loader, Map<String, String> urlPatternToClassNameMap, org.jboss.metadata.web.jboss.JBossWebMetaData jbwmd, org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData metadata, org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData jbwsMetadata, org.jboss.as.controller.capability.CapabilityServiceSupport capabilityServiceSupport) Prepare the ws Deployment and return a DeploymentUnit containing it- Parameters:
context-loader-urlPatternToClassNameMap-jbwmd-metadata-jbwsMetadata-- Returns:
-
doDeploy
protected void doDeploy(org.jboss.msc.service.ServiceTarget target, org.jboss.as.server.deployment.DeploymentUnit unit) Triggers the WS deployment aspects, which process the deployment and install the endpoint services.- Parameters:
target-unit-
-
doPublish
protected org.jboss.wsf.spi.publish.Context doPublish(org.jboss.msc.service.ServiceTarget target, org.jboss.as.server.deployment.DeploymentUnit unit) throws Exception Publish the webapp for the WS deployment unit- Parameters:
target-unit-- Returns:
- Throws:
Exception
-
destroy
- Specified by:
destroyin interfaceorg.jboss.wsf.spi.publish.EndpointPublisher- Throws:
Exception
-
undeploy
Triggers the WS deployment aspects, which process the deployment unit and stop the endpoint services.- Throws:
Exception
-
undeploy
- Throws:
Exception
-
stopWebApp
Stops the webapp serving the provided ws deployment- Parameters:
deployment-- Throws:
Exception
-