Package org.eclipse.ecf.core.util
Class ExtensionRegistryRunnable
- java.lang.Object
-
- org.eclipse.ecf.core.util.ExtensionRegistryRunnable
-
- All Implemented Interfaces:
org.eclipse.core.runtime.ISafeRunnable
public class ExtensionRegistryRunnable extends java.lang.Object implements org.eclipse.core.runtime.ISafeRunnable- Since:
- 3.4
-
-
Constructor Summary
Constructors Constructor Description ExtensionRegistryRunnable(BundleContext ctxt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BundleContextgetContext()voidhandleException(java.lang.Throwable exception)protected voidlogWarning(java.lang.Throwable exception)voidrun()protected voidrunWithoutRegistry()protected voidrunWithRegistry(org.eclipse.core.runtime.IExtensionRegistry registry)
-
-
-
Constructor Detail
-
ExtensionRegistryRunnable
public ExtensionRegistryRunnable(BundleContext ctxt)
-
-
Method Detail
-
getContext
protected BundleContext getContext()
- Since:
- 3.8
-
runWithoutRegistry
protected void runWithoutRegistry() throws java.lang.Exception- Throws:
java.lang.Exception
-
runWithRegistry
protected void runWithRegistry(org.eclipse.core.runtime.IExtensionRegistry registry) throws java.lang.Exception- Throws:
java.lang.Exception
-
logWarning
protected void logWarning(java.lang.Throwable exception)
-
run
public void run() throws java.lang.Exception- Specified by:
runin interfaceorg.eclipse.core.runtime.ISafeRunnable- Throws:
java.lang.Exception
-
handleException
public void handleException(java.lang.Throwable exception)
- Specified by:
handleExceptionin interfaceorg.eclipse.core.runtime.ISafeRunnable
-
-