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 CLogger
logger
-
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 void
afterPackIn()
protected void
frameworkStarted()
protected org.osgi.framework.BundleContext
getContext()
String
getDescription()
String
getName()
String
getVersion()
protected void
packIn(String installedVersionPart, String bundleVersionPart)
protected boolean
packIn(URL packout)
protected void
setContext(org.osgi.framework.BundleContext context)
protected void
setupPackInContext()
-
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:
getName
in classAbstractActivator
-
getVersion
public String getVersion()
- Overrides:
getVersion
in 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:
frameworkStarted
in classAbstractActivator
-
-