Package org.adempiere.plugin.utils
Class Version2PackActivator
- java.lang.Object
-
- org.adempiere.plugin.utils.AbstractActivator
-
- org.adempiere.plugin.utils.Version2PackActivator
-
- All Implemented Interfaces:
EventListener,org.osgi.framework.BundleActivator,org.osgi.framework.FrameworkListener,org.osgi.util.tracker.ServiceTrackerCustomizer<IDictionaryService,IDictionaryService>
public class Version2PackActivator extends AbstractActivator
- Author:
- hengsin
-
-
Field Summary
Fields Modifier and Type Field Description protected static CLoggerlogger-
Fields inherited from class org.adempiere.plugin.utils.AbstractActivator
context, service, serviceTracker
-
-
Constructor Summary
Constructors Constructor Description Version2PackActivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterPackIn()protected voidframeworkStarted()protected org.osgi.framework.BundleContextgetContext()StringgetDescription()StringgetName()StringgetVersion()protected voidpackIn(String installedVersionPart, String bundleVersionPart)protected booleanpackIn(URL packout)protected voidsetContext(org.osgi.framework.BundleContext context)protected voidsetupPackInContext()-
Methods inherited from class org.adempiere.plugin.utils.AbstractActivator
addingService, addLog, directMerge, frameworkEvent, 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:
getNamein classAbstractActivator
-
getVersion
public String getVersion()
- Overrides:
getVersionin classAbstractActivator
-
getDescription
public String getDescription()
-
packIn
protected boolean packIn(URL packout)
-
getContext
protected org.osgi.framework.BundleContext getContext()
-
setContext
protected void setContext(org.osgi.framework.BundleContext context)
-
afterPackIn
protected void afterPackIn()
-
setupPackInContext
protected void setupPackInContext()
-
frameworkStarted
protected void frameworkStarted()
- Specified by:
frameworkStartedin classAbstractActivator
-
-