com.liferay.portal.osgi.service
Class OSGiServiceUtil
java.lang.Object
com.liferay.portal.osgi.service.OSGiServiceUtil
public class OSGiServiceUtil
- extends java.lang.Object
- Author:
- Raymond Augé
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addBundle
public static java.lang.Object addBundle(java.lang.String location)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
addBundle
public static java.lang.Object addBundle(java.lang.String location,
java.io.InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getFramework
public static org.osgi.framework.launch.Framework getFramework()
getState
public static java.lang.String getState(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
init
public static void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
registerContext
public static void registerContext(java.lang.Object context)
setBundleStartLevel
public static void setBundleStartLevel(long bundleId,
int startLevel)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
start
public static void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
startBundle
public static void startBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
startBundle
public static void startBundle(long bundleId,
int options)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
stopFramework
public static void stopFramework()
throws java.lang.Exception
- Throws:
java.lang.Exception
stopRuntime
public static void stopRuntime()
throws java.lang.Exception
- Throws:
java.lang.Exception
stopBundle
public static void stopBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
stopBundle
public static void stopBundle(long bundleId,
int options)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
uninstallBundle
public static void uninstallBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateBundle
public static void updateBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateBundle
public static void updateBundle(long bundleId,
java.io.InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException