Package fr.dyade.aaa.agent.services
Class CommonService
- java.lang.Object
-
- fr.dyade.aaa.agent.services.CommonService
-
- Direct Known Subclasses:
A3ManagedService,JoramManagedService
public class CommonService extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.osgi.framework.BundleContextbundleContextprivate static booleanDEBUGprivate static Loggerloggerprivate Stringpathstatic StringPATH_TO_CONFthe path to the configuration (a3servers.xml, ...)private shortsidstatic StringSIDthe server idstatic StringSTORAGEpersistence directory
-
Constructor Summary
Constructors Constructor Description CommonService(org.osgi.framework.BundleContext bundleContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoStart()protected voiddoStop()voidupdated(Dictionary properties)
-
-
-
Field Detail
-
logger
private static final Logger logger
-
DEBUG
private static final boolean DEBUG
-
SID
public static final String SID
the server id- See Also:
- Constant Field Values
-
STORAGE
public static final String STORAGE
persistence directory- See Also:
- Constant Field Values
-
PATH_TO_CONF
public static final String PATH_TO_CONF
the path to the configuration (a3servers.xml, ...)- See Also:
- Constant Field Values
-
sid
private short sid
-
path
private String path
-
bundleContext
protected org.osgi.framework.BundleContext bundleContext
-
-
Method Detail
-
doStop
protected void doStop()
-
updated
public void updated(Dictionary properties) throws org.osgi.service.cm.ConfigurationException
- Throws:
org.osgi.service.cm.ConfigurationException
-
-