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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA facility for accessing OSGidebug options, whether OSGiis runningor not.static interfaceA facility for accessingresource bundles. -
Method Summary
Modifier and TypeMethodDescriptionvoidgetInputStream(String path) Class<?>logger()voidprepareContainer(IManagedContainer container) voidsetBundleContext(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.
-