Class ServiceMetadata


  • public class ServiceMetadata
    extends Object
    This class contains the metadata associated to a service that is provided by a component
    • Constructor Detail

      • ServiceMetadata

        public ServiceMetadata()
    • Method Detail

      • setServiceFactory

        public void setServiceFactory​(boolean serviceFactory)
        Setter for the servicefactory attribute of the service element
        Parameters:
        serviceFactory -
      • setScope

        public void setScope​(String scopeName)
      • addProvide

        public void addProvide​(String provide)
        Add a provided interface to this service
        Parameters:
        provide - a String containing the name of the provided interface
      • getProvides

        public String[] getProvides()
        Returns the implemented interfaces
        Returns:
        the implemented interfaces as a string array