org.eclipse.net4j.util.om
Interface OMBundle


public interface OMBundle

Represents a bundle, whether OSGi is running or not.

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
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.
 
Method Summary
 URL getBaseURL()
           
 String getBundleID()
           
 Iterator<Class<?>> getClasses()
           
 File getConfigFile()
           
 Properties getConfigProperties()
           
 OMBundle.DebugSupport getDebugSupport()
           
 InputStream getInputStream(String path)
           
 OMPlatform getPlatform()
           
 String getStateLocation()
           
 OMBundle.TranslationSupport getTranslationSupport()
           
 OMLogger logger()
           
 OMPreferences preferences()
           
 void setBundleContext(Object bundleContext)
          Deprecated. For internal use only.
 OMTracer tracer(String name)
           
 

Method Detail

getPlatform

OMPlatform getPlatform()

getBundleID

String getBundleID()

getBaseURL

URL getBaseURL()

getClasses

Iterator<Class<?>> getClasses()
Since:
3.2

tracer

OMTracer tracer(String name)

logger

OMLogger logger()

preferences

OMPreferences preferences()

getConfigFile

File getConfigFile()

getConfigProperties

Properties getConfigProperties()

getStateLocation

String getStateLocation()

getInputStream

InputStream getInputStream(String path)
                           throws IOException
Throws:
IOException

getDebugSupport

OMBundle.DebugSupport getDebugSupport()

getTranslationSupport

OMBundle.TranslationSupport getTranslationSupport()

setBundleContext

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



Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.