Package org.eclipse.net4j.util.om
Interface OMBundle
-
public interface OMBundleRepresents abundle, whether OSGiis runningor not.- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceOMBundle.DebugSupportA facility for accessing OSGidebug options, whether OSGiis runningor not.static interfaceOMBundle.TranslationSupportA facility for accessingresource bundles.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidcoreException(java.lang.Throwable t)java.net.URLgetBaseURL()java.lang.StringgetBundleID()java.util.Iterator<java.lang.Class<?>>getClasses()java.io.FilegetConfigFile()java.util.PropertiesgetConfigProperties()OMBundle.DebugSupportgetDebugSupport()java.io.InputStreamgetInputStream(java.lang.String path)OMPlatformgetPlatform()java.lang.StringgetStateLocation()IStatusgetStatus(java.lang.Object obj)OMBundle.TranslationSupportgetTranslationSupport()OMLoggerlogger()OMPreferencespreferences()voidsetBundleContext(java.lang.Object bundleContext)Deprecated.For internal use only.OMTracertracer(java.lang.String name)
-
-
-
Method Detail
-
getPlatform
OMPlatform getPlatform()
-
getBundleID
java.lang.String getBundleID()
-
getBaseURL
java.net.URL getBaseURL()
-
getClasses
java.util.Iterator<java.lang.Class<?>> getClasses()
- Since:
- 3.2
-
tracer
OMTracer tracer(java.lang.String name)
-
logger
OMLogger logger()
-
preferences
OMPreferences preferences()
-
getStatus
IStatus getStatus(java.lang.Object obj)
- Since:
- 3.5
-
coreException
void coreException(java.lang.Throwable t) throws CoreException- Throws:
CoreException- Since:
- 3.5
-
getConfigFile
java.io.File getConfigFile()
-
getConfigProperties
java.util.Properties getConfigProperties()
-
getStateLocation
java.lang.String getStateLocation()
-
getInputStream
java.io.InputStream getInputStream(java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getDebugSupport
OMBundle.DebugSupport getDebugSupport()
-
getTranslationSupport
OMBundle.TranslationSupport getTranslationSupport()
-
setBundleContext
@Deprecated void setBundleContext(java.lang.Object bundleContext)
Deprecated.For internal use only.
-
-