org.jboss.wsf.spi.deployment
Interface Service

All Superinterfaces:
Extensible

public interface Service
extends Extensible

A general service deployment. Maintains a named set of EndpointDeployments

Since:
20-Apr-2007
Author:
Thomas.Diesler@jboss.com

Method Summary
 void addEndpoint(Endpoint endpoint)
          Add an endpoint to the service
 java.lang.String getContextRoot()
          Get the context root for this service
 Deployment getDeployment()
          Get the deployment this service belongs to
 Endpoint getEndpointByName(java.lang.String simpleName)
          Get an endpoint by name
 java.util.List<Endpoint> getEndpoints()
          Get the list of endpoints
 java.lang.String[] getVirtualHosts()
          Get the virtual hosts for this service
 void setContextRoot(java.lang.String contextRoot)
          Set the context root for this service
 void setDeployment(Deployment dep)
          Set the deployment this service belongs to
 void setVirtualHosts(java.lang.String[] virtualHosts)
          Set the virtual hosts for this service
 
Methods inherited from interface org.jboss.wsf.spi.deployment.Extensible
addAttachment, getAttachment, getAttachments, getProperties, getProperty, removeAttachment, removeProperty, setProperties, setProperty
 

Method Detail

getDeployment

Deployment getDeployment()
Get the deployment this service belongs to


setDeployment

void setDeployment(Deployment dep)
Set the deployment this service belongs to


addEndpoint

void addEndpoint(Endpoint endpoint)
Add an endpoint to the service


getEndpoints

java.util.List<Endpoint> getEndpoints()
Get the list of endpoints


getEndpointByName

Endpoint getEndpointByName(java.lang.String simpleName)
Get an endpoint by name


getContextRoot

java.lang.String getContextRoot()
Get the context root for this service


setContextRoot

void setContextRoot(java.lang.String contextRoot)
Set the context root for this service


getVirtualHosts

java.lang.String[] getVirtualHosts()
Get the virtual hosts for this service


setVirtualHosts

void setVirtualHosts(java.lang.String[] virtualHosts)
Set the virtual hosts for this service



Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.