Class LocalServiceDescriptor

java.lang.Object
chemaxon.marvin.services.ServiceDescriptor
chemaxon.marvin.services.localservice.LocalServiceDescriptor

@PublicApi public class LocalServiceDescriptor extends ServiceDescriptor
Service Descriptor for java based local services. Functions implemented in separate jar files can be used as service via this descriptor class.
Since:
5.6
  • Field Details

  • Constructor Details

    • LocalServiceDescriptor

      public LocalServiceDescriptor()
  • Method Details

    • getClassName

      public String getClassName()
      Returns the full class name of the service
      Returns:
      the full class name of the service
    • setClassName

      public void setClassName(String className)
      Sets the full class name of the service
      Parameters:
      className - the new service name
    • getIcon

      public Icon getIcon()
      Description copied from class: ServiceDescriptor
      Returns the icon of service descriptor or null if no icon
      Overrides:
      getIcon in class ServiceDescriptor
      Returns:
      the icon of service descriptor or null if no icon
    • getSimpleName

      public String getSimpleName()
      Description copied from class: ServiceDescriptor
      Returns the simple name of the service type
      Overrides:
      getSimpleName in class ServiceDescriptor
      Returns:
      the simple name of the service type
    • createServiceHandler

      public LocalServiceHandler createServiceHandler()
      Description copied from class: ServiceDescriptor
      Creates a new service handler for this descriptor. The returned handler is capable to perform service call on the service described by this descriptor
      Specified by:
      createServiceHandler in class ServiceDescriptor
      Returns:
      a service handler instance for this descriptor