public interface OMBundle
bundle
, whether OSGi is running
or not.Modifier and Type | Interface and Description |
---|---|
static interface |
OMBundle.DebugSupport
A facility for accessing OSGi
debug options , whether OSGi is
running or not. |
static interface |
OMBundle.TranslationSupport
A facility for accessing
resource bundles . |
Modifier and Type | Method and Description |
---|---|
void |
coreException(Throwable t) |
URL |
getBaseURL() |
String |
getBundleID() |
Iterator<Class<?>> |
getClasses() |
File |
getConfigFile() |
Properties |
getConfigProperties() |
OMBundle.DebugSupport |
getDebugSupport() |
InputStream |
getInputStream(String path) |
OMPlatform |
getPlatform() |
String |
getStateLocation() |
IStatus |
getStatus(Object obj) |
OMBundle.TranslationSupport |
getTranslationSupport() |
OMLogger |
logger() |
OMPreferences |
preferences() |
void |
setBundleContext(Object bundleContext)
Deprecated.
For internal use only.
|
OMTracer |
tracer(String name) |
OMPlatform getPlatform()
String getBundleID()
URL getBaseURL()
OMLogger logger()
OMPreferences preferences()
void coreException(Throwable t) throws CoreException
CoreException
File getConfigFile()
Properties getConfigProperties()
String getStateLocation()
InputStream getInputStream(String path) throws IOException
IOException
OMBundle.DebugSupport getDebugSupport()
OMBundle.TranslationSupport getTranslationSupport()
@Deprecated void setBundleContext(Object bundleContext)
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.