Package com.webmethods.sc.calendar
Class CalendarSystemFactory
java.lang.Object
com.webmethods.sc.calendar.CalendarSystemFactory
Singleton static class which is used to create
ICalendarSystem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Activation of OSGi declaritive service.protected void
bindCalendarSystem
(ICalendarSystem service) Reference injection of the other OSGi serviceprotected void
Deactivation of OSGi declaritive service.static ICalendarSystem
Returns singleton instance ofICalendarSystem
interface to shared calendar component.static ICalendarSystem
getCalendarSystem
(Transport transport) Returns singleton instance ofICalendarSystem
interface to shared calendar componentprotected void
unbindCalendarSystem
(ICalendarSystem service)
-
Constructor Details
-
CalendarSystemFactory
public CalendarSystemFactory()Public only so it can be constructed as OSGi DS
-
-
Method Details
-
bindCalendarSystem
Reference injection of the other OSGi service -
unbindCalendarSystem
-
activate
Activation of OSGi declaritive service.- Parameters:
config
- the configuration properties of the OSGi service
-
deactivate
protected void deactivate()Deactivation of OSGi declaritive service. -
getCalendarSystem
Returns singleton instance ofICalendarSystem
interface to shared calendar component- Returns:
- Throws:
CalendarException
-
getCalendarSystem
Returns singleton instance ofICalendarSystem
interface to shared calendar component. This will chose the best transport for the current context.- Returns:
- Throws:
CalendarException
-