Class ServiceImpl

    • Constructor Detail

      • ServiceImpl

        public ServiceImpl()
        Default constructor
      • ServiceImpl

        public ServiceImpl​(String name)
        Creates new ServiceImpl with the given name
    • Method Detail

      • setProvidingOrganization

        public void setProvidingOrganization​(Organization org)
                                      throws JAXRException
        Set the organization that provides this service
        Specified by:
        setProvidingOrganization in interface Service
        Parameters:
        org - the Organization that provides this service
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addServiceBinding

        public void addServiceBinding​(ServiceBinding serviceBinding)
                               throws JAXRException
        Add a child ServiceBinding. Sets service on the binding.
        Specified by:
        addServiceBinding in interface Service
        Parameters:
        serviceBinding - the ServiceBinding being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addServiceBindings

        public void addServiceBindings​(Collection serviceBindings)
                                throws JAXRException
        Add a Collection of ServiceBinding children. Treats null param as an empty collection.
        Specified by:
        addServiceBindings in interface Service
        Parameters:
        serviceBindings - the Collection of ServiceBindings being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeServiceBinding

        public void removeServiceBinding​(ServiceBinding serviceBinding)
                                  throws JAXRException
        Remove a child ServiceBinding.
        Specified by:
        removeServiceBinding in interface Service
        Parameters:
        serviceBinding - the ServiceBinding being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeServiceBindings

        public void removeServiceBindings​(Collection serviceBindings)
                                   throws JAXRException
        Remove a Collection of children ServiceBindings. Treats null param as an empty collection.
        Specified by:
        removeServiceBindings in interface Service
        Parameters:
        serviceBindings - the Collection of ServiceBindings being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error