public interface OMBundle
bundle
, whether OSGi is running
or not.OMPreferences
oneway - - preferences, OMLogger
oneway - - logger, OMBundle.DebugSupport
, OMBundle.TranslationSupport
, Properties
oneway - - configOMTracer
- - tracersModifier 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) 2014 Eike Stepper (Berlin, 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