Package com.webmethods.sc.directory
Class DirectorySystemFactory
java.lang.Object
com.webmethods.sc.directory.DirectorySystemFactory
Static initialization factory for share directory system component
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Activation of OSGi declaritive service.protected void
bindDirectorySystem
(IDirectorySystem service) Reference injection of the other OSGi serviceprotected void
Deactivation of OSGi declaritive service.static IDirectorySystem
Returns singleton instance ofIDirectorySystem
interface to shared directory component.static IDirectorySystem
getDirectorySystem
(Transport transport) Returns singleton instance ofIDirectorySystem
interface to shared directory componentstatic com.webmethods.sc.logging.log4j2.logger.WmJournalLogger
protected void
unbindDirectorySystem
(IDirectorySystem service)
-
Constructor Details
-
DirectorySystemFactory
public DirectorySystemFactory()Public only so it can be constructed as OSGi DS
-
-
Method Details
-
bindDirectorySystem
Reference injection of the other OSGi service -
unbindDirectorySystem
-
activate
Activation of OSGi declaritive service.- Parameters:
config
- the configuration properties of the OSGi service
-
deactivate
protected void deactivate()Deactivation of OSGi declaritive service. -
getDirectorySystem
Returns singleton instance ofIDirectorySystem
interface to shared directory component- Returns:
- Throws:
DirectoryException
-
getJournalLogger
public static com.webmethods.sc.logging.log4j2.logger.WmJournalLogger getJournalLogger() -
getDirectorySystem
Returns singleton instance ofIDirectorySystem
interface to shared directory component. This will chose the best transport for the current context.- Returns:
- Throws:
DirectoryException
-