Interface ServiceDescriptor

All Known Implementing Classes:
NonActivatableServiceDescriptor, RioServiceDescriptor, SystemConfig.JMXServiceDescriptor

public interface ServiceDescriptor
Interface that all service description objects must implement.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates an object described by the actual ServiceDescriptor instance.
  • Method Details

    • create

      Object create(Configuration config) throws Exception
      Creates an object described by the actual ServiceDescriptor instance.
      Parameters:
      config - The Configuration object used to configure the creation of the returned object.
      Returns:
      An object instance appropriate for the given service descriptor instance.
      Throws:
      Exception - Thrown if there was any problem creating the object.