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(java.lang.Throwable t) |
java.net.URL |
getBaseURL() |
java.lang.String |
getBundleID() |
java.util.Iterator<java.lang.Class<?>> |
getClasses() |
java.io.File |
getConfigFile() |
java.util.Properties |
getConfigProperties() |
OMBundle.DebugSupport |
getDebugSupport() |
java.io.InputStream |
getInputStream(java.lang.String path) |
OMPlatform |
getPlatform() |
java.lang.String |
getStateLocation() |
IStatus |
getStatus(java.lang.Object obj) |
OMBundle.TranslationSupport |
getTranslationSupport() |
OMLogger |
logger() |
OMPreferences |
preferences() |
void |
setBundleContext(java.lang.Object bundleContext)
Deprecated.
For internal use only.
|
OMTracer |
tracer(java.lang.String name) |
OMPlatform getPlatform()
java.lang.String getBundleID()
java.net.URL getBaseURL()
java.util.Iterator<java.lang.Class<?>> getClasses()
OMTracer tracer(java.lang.String name)
OMLogger logger()
OMPreferences preferences()
IStatus getStatus(java.lang.Object obj)
void coreException(java.lang.Throwable t) throws CoreException
CoreException
java.io.File getConfigFile()
java.util.Properties getConfigProperties()
java.lang.String getStateLocation()
java.io.InputStream getInputStream(java.lang.String path) throws java.io.IOException
java.io.IOException
OMBundle.DebugSupport getDebugSupport()
OMBundle.TranslationSupport getTranslationSupport()
@Deprecated void setBundleContext(java.lang.Object bundleContext)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html