org.eclipse.ecf.core.util
Class ExtensionRegistryRunnable

java.lang.Object
  extended by 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
ExtensionRegistryRunnable(org.osgi.framework.BundleContext ctxt)
           
 
Method Summary
 void handleException(java.lang.Throwable exception)
           
protected  void logWarning(java.lang.Throwable exception)
           
 void run()
           
protected  void runWithoutRegistry()
           
protected  void runWithRegistry(org.eclipse.core.runtime.IExtensionRegistry registry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionRegistryRunnable

public ExtensionRegistryRunnable(org.osgi.framework.BundleContext ctxt)
Method Detail

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:
run in interface org.eclipse.core.runtime.ISafeRunnable
Throws:
java.lang.Exception

handleException

public void handleException(java.lang.Throwable exception)
Specified by:
handleException in interface org.eclipse.core.runtime.ISafeRunnable