Class DirectorySystemFactory

java.lang.Object
com.webmethods.sc.directory.DirectorySystemFactory

public class DirectorySystemFactory extends Object
Static initialization factory for share directory system component
  • Constructor Details

    • DirectorySystemFactory

      public DirectorySystemFactory()
      Public only so it can be constructed as OSGi DS
  • Method Details

    • bindDirectorySystem

      protected void bindDirectorySystem(IDirectorySystem service)
      Reference injection of the other OSGi service
    • unbindDirectorySystem

      protected void unbindDirectorySystem(IDirectorySystem service)
    • activate

      protected void activate(Map<String,Object> config)
      Activation of OSGi declaritive service.
      Parameters:
      config - the configuration properties of the OSGi service
    • deactivate

      protected void deactivate()
      Deactivation of OSGi declaritive service.
    • getDirectorySystem

      public static IDirectorySystem getDirectorySystem(Transport transport) throws DirectoryException
      Returns singleton instance of IDirectorySystem interface to shared directory component
      Returns:
      Throws:
      DirectoryException
    • getJournalLogger

      public static com.webmethods.sc.logging.log4j2.logger.WmJournalLogger getJournalLogger()
    • getDirectorySystem

      public static IDirectorySystem getDirectorySystem() throws DirectoryException
      Returns singleton instance of IDirectorySystem interface to shared directory component. This will chose the best transport for the current context.
      Returns:
      Throws:
      DirectoryException