Package org.eclipse.net4j.util.om
Interface OMBundle
public interface OMBundle
Represents a
bundle
, whether OSGi is running
or 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
Modifier and TypeInterfaceDescriptionstatic interface
A facility for accessing OSGidebug options
, whether OSGiis running
or not.static interface
A facility for accessingresource bundles
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
getInputStream
(String path) Class<?>
logger()
void
prepareContainer
(IManagedContainer container) void
setBundleContext
(Object bundleContext) Deprecated.For internal use only.
-
Method Details
-
getPlatform
OMPlatform getPlatform() -
getBundleID
String getBundleID() -
getBaseURL
URL getBaseURL() -
getClasses
- Since:
- 3.2
-
tracer
-
logger
OMLogger logger() -
preferences
OMPreferences preferences() -
getStatus
- Since:
- 3.5
-
coreException
- Throws:
CoreException
- Since:
- 3.5
-
getConfigFile
File getConfigFile() -
getConfigProperties
Properties getConfigProperties() -
getUserLocation
String getUserLocation()- Since:
- 3.18
-
getStateLocation
String getStateLocation() -
getInputStream
- Throws:
IOException
-
getDebugSupport
OMBundle.DebugSupport getDebugSupport() -
getTranslationSupport
OMBundle.TranslationSupport getTranslationSupport() -
loadClass
- Throws:
ClassNotFoundException
- Since:
- 3.22
-
prepareContainer
- Since:
- 3.23
-
setBundleContext
Deprecated.For internal use only.
-