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.
    • Method Detail

      • getBundleID

        java.lang.String getBundleID()
      • getBaseURL

        java.net.URL getBaseURL()
      • getClasses

        java.util.Iterator<java.lang.Class<?>> getClasses()
        Since:
        3.2
      • tracer

        OMTracer tracer​(java.lang.String name)
      • getStatus

        IStatus getStatus​(java.lang.Object obj)
        Since:
        3.5
      • getConfigFile

        java.io.File getConfigFile()
      • getConfigProperties

        java.util.Properties getConfigProperties()
      • getStateLocation

        java.lang.String getStateLocation()
      • getInputStream

        java.io.InputStream getInputStream​(java.lang.String path)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • setBundleContext

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