Class ServiceStore

java.lang.Object
ddf.platform.scheduler.ServiceStore

public class ServiceStore extends Object
Allows Jobs or other objects within this limited classpath to acquire them from a single location.
Author:
Ashraf Barakat
  • Method Details

    • getInstance

      public static ServiceStore getInstance()
      Returns:
      a unique instance of ServiceStore
    • setObject

      public void setObject(Object object)
      Stores objects based on their interface
      Parameters:
      object - implementation of at least one interface
    • getObject

      public Object getObject(String key)
      Parameters:
      key - fully qualified interface name
      Returns:
      object that implements the interface