Package org.eclipse.net4j.util.om

# Schnittstelle OMBundle

Alle Superschnittstellen:
  `ExtendedIOUtil.ClassResolver`

public interface OMBundle extends ExtendedIOUtil.ClassResolver
Represents a `bundle`, whether OSGi `is running` or not.

Autor:
  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.

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Schnittstelle
Beschreibung
`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`.

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`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()`
`String`
`getUserLocation()`
`Class<?>`
`loadClass(String pluginID, String className)`
`OMLogger`
`logger()`
`OMPreferences`
`preferences()`
`void`
`prepareContainer(IManagedContainer container)`
`void`
`setBundleContext(Object bundleContext)`
Veraltet.
For internal use only.
`OMTracer`
`tracer(String name)`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.io.ExtendedIOUtil.ClassResolver

`resolveClass`

## Methodendetails

### getPlatform

OMPlatform getPlatform()

### getBundleID

String getBundleID()

### getBaseURL

URL getBaseURL()

### getClasses

Iterator<Class<?>> getClasses()

Seit:
  3.2

### tracer

OMTracer tracer(String name)

### logger

OMLogger logger()

### preferences

OMPreferences preferences()

### getStatus

IStatus getStatus(Object obj)

Seit:
  3.5

### coreException

void coreException(Throwable t) throws CoreException

Löst aus:
  `CoreException`
Seit:
  3.5

### getConfigFile

File getConfigFile()

### getConfigProperties

Properties getConfigProperties()

### getUserLocation

String getUserLocation()

Seit:
  3.18

### getStateLocation

String getStateLocation()

### getInputStream

InputStream getInputStream(String path) throws IOException

Löst aus:
  `IOException`

### getDebugSupport

OMBundle.DebugSupport getDebugSupport()

### getTranslationSupport

OMBundle.TranslationSupport getTranslationSupport()

### loadClass

Class<?> loadClass(String pluginID, String className) throws ClassNotFoundException

Löst aus:
  `ClassNotFoundException`
Seit:
  3.22

### prepareContainer

void prepareContainer(IManagedContainer container)

Seit:
  3.23

### setBundleContext

@Deprecated void setBundleContext(Object bundleContext)
Veraltet.
For internal use only.