public class Activator extends Object implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
static String |
TYPES |
static String |
TYPES_TXT |
Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
static ModuleContext |
getContext() |
static MessageContentSerializerEx |
getParser() |
static Persistence |
getPersistence() |
static TenantManager |
getTenantMngr() |
static void |
logD(String method,
String msg)
Helper method to log DEBUG messages
|
static void |
logE(String method,
String msg)
Helper method to log ERROR messages
|
static void |
logI(String method,
String msg)
Helper method to log INFO messages.
|
static void |
logW(String method,
String msg)
Helper method to log WARN messages
|
void |
start(org.osgi.framework.BundleContext bcontext) |
void |
stop(org.osgi.framework.BundleContext arg0) |
public static final String TYPES
public static final String TYPES_TXT
public void start(org.osgi.framework.BundleContext bcontext) throws Exception
start
in interface org.osgi.framework.BundleActivator
Exception
public void stop(org.osgi.framework.BundleContext arg0) throws Exception
stop
in interface org.osgi.framework.BundleActivator
Exception
public static MessageContentSerializerEx getParser()
public static TenantManager getTenantMngr()
public static ModuleContext getContext()
public static Persistence getPersistence()
public static void logD(String method, String msg)
method
- The method calling to logmsg
- The messge to logpublic static void logI(String method, String msg)
method
- The method calling to logmsg
- The messge to logpublic static void logW(String method, String msg)
method
- The method calling to logmsg
- The messge to logCopyright © 2018 universAAL Consortium. All rights reserved.