Home All Groups
jbossws-spi / org / jboss / wsf / spi / deployment / Service.html /
org.jboss.wsf.spi.deployment

Interface Service

    • Method Detail

      • getDeployment

        Deployment getDeployment()
        Get the deployment this service belongs to
        Returns:
        the deployment this service belongs to
      • addEndpoint

        void addEndpoint(Endpoint endpoint)
        Add an endpoint to the service
        Parameters:
        endpoint - the endpoint to be added
      • removeEndpoint

        boolean removeEndpoint(Endpoint endpoint)
        Remove an endpoint from the service, returns true if successfull
        Parameters:
        endpoint - the endpoint to remove
        Returns:
        true if the endpoint was actually removed, false otherwise
      • getEndpoints

        List<Endpoint> getEndpoints()
        Get the list of endpoints
        Returns:
        a copy of the list of endpoints
      • getEndpoints

        List<Endpoint> getEndpoints(EndpointTypeFilter filter)
        Get the list of endpoints
        Parameters:
        filter - a filter for selecting endpoints
        Returns:
        a list of selected endpoints
      • getEndpointByName

        Endpoint getEndpointByName(String simpleName)
        Get an endpoint by name
        Parameters:
        simpleName - the name of the endpoint to get
        Returns:
        the selected endpoint
      • getContextRoot

        String getContextRoot()
        Get the context root for this service
        Returns:
        the context root for this service
      • setContextRoot

        void setContextRoot(String contextRoot)
        Set the context root for this service
        Parameters:
        contextRoot - the context root for this service
      • getVirtualHost

        String getVirtualHost()
        Get the virtual host for this service
        Returns:
        the virtual host for this service
      • setVirtualHost

        void setVirtualHost(String virtualHost)
        Set the virtual host for this service
        Parameters:
        virtualHost - the virtual host for this service

Copyright © 2018 JBoss, by Red Hat. All rights reserved.