public class DirectorySystemFactory extends Object
Constructor and Description |
---|
DirectorySystemFactory()
Public only so it can be constructed as OSGi DS
|
Modifier and Type | Method and Description |
---|---|
protected void |
activate(Map<String,Object> config)
Activation of OSGi declaritive service.
|
protected void |
bindDirectorySystem(IDirectorySystem service)
Reference injection of the other OSGi service
|
protected void |
deactivate()
Deactivation of OSGi declaritive service.
|
static IDirectorySystem |
getDirectorySystem()
Returns singleton instance of
IDirectorySystem interface to shared
directory component. |
static IDirectorySystem |
getDirectorySystem(Transport transport)
Returns singleton instance of
IDirectorySystem interface to shared
directory component |
static com.webmethods.sc.logging.log4j2.logger.WmJournalLogger |
getJournalLogger() |
protected void |
unbindDirectorySystem(IDirectorySystem service) |
public DirectorySystemFactory()
protected void bindDirectorySystem(IDirectorySystem service)
protected void unbindDirectorySystem(IDirectorySystem service)
protected void activate(Map<String,Object> config)
config
- the configuration properties of the OSGi serviceprotected void deactivate()
public static IDirectorySystem getDirectorySystem(Transport transport) throws DirectoryException
IDirectorySystem
interface to shared
directory componentDirectoryException
public static com.webmethods.sc.logging.log4j2.logger.WmJournalLogger getJournalLogger()
public static IDirectorySystem getDirectorySystem() throws DirectoryException
IDirectorySystem
interface to shared
directory component. This will chose the best transport for the current context.DirectoryException