Package org.adempiere.plugin.utils
Class AdempiereActivator
- java.lang.Object
-
- org.adempiere.plugin.utils.AbstractActivator
-
- org.adempiere.plugin.utils.AdempiereActivator
-
- All Implemented Interfaces:
EventListener
,org.osgi.framework.BundleActivator
,org.osgi.framework.FrameworkListener
,org.osgi.util.tracker.ServiceTrackerCustomizer<IDictionaryService,IDictionaryService>
public class AdempiereActivator extends AbstractActivator
-
-
Field Summary
Fields Modifier and Type Field Description protected static CLogger
logger
-
Fields inherited from class org.adempiere.plugin.utils.AbstractActivator
context, service, serviceTracker
-
-
Constructor Summary
Constructors Constructor Description AdempiereActivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
frameworkEvent(org.osgi.framework.FrameworkEvent event)
protected void
frameworkStarted()
protected org.osgi.framework.BundleContext
getContext()
String
getDescription()
String
getName()
String
getVersion()
protected void
install()
protected void
packIn()
protected void
setContext(org.osgi.framework.BundleContext context)
protected void
setupPackInContext()
-
Methods inherited from class org.adempiere.plugin.utils.AbstractActivator
addingService, addLog, directMerge, getDBLock, getProcessInfo, installedPackage, isFrameworkStarted, merge, modifiedService, releaseLock, removedService, setProcessInfo, setProcessUI, setSummary, start, start, statusUpdate, stop, stop
-
-
-
-
Field Detail
-
logger
protected static final CLogger logger
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in classAbstractActivator
-
getVersion
public String getVersion()
- Overrides:
getVersion
in classAbstractActivator
-
getDescription
public String getDescription()
-
packIn
protected void packIn()
-
getContext
protected org.osgi.framework.BundleContext getContext()
-
setContext
protected void setContext(org.osgi.framework.BundleContext context)
-
install
protected void install()
-
setupPackInContext
protected void setupPackInContext()
-
frameworkEvent
public void frameworkEvent(org.osgi.framework.FrameworkEvent event)
- Specified by:
frameworkEvent
in interfaceorg.osgi.framework.FrameworkListener
- Overrides:
frameworkEvent
in classAbstractActivator
-
frameworkStarted
protected void frameworkStarted()
- Specified by:
frameworkStarted
in classAbstractActivator
-
-