Class Bundle


  • public class Bundle
    extends java.lang.Object
    Stores data about the containing OSGi bundle (static bundle without activator).
    Author:
    Holger Eichelberger
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ID
      Stores the bundle ID.
    • Constructor Summary

      Constructors 
      Constructor Description
      Bundle()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static EASyLoggerFactory.EASyLogger getLogger​(java.lang.Class<?> loggedClass)
      Returns a logger instance for logging informations of this bundle.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Bundle

        public Bundle()
    • Method Detail

      • getLogger

        public static EASyLoggerFactory.EASyLogger getLogger​(java.lang.Class<?> loggedClass)
        Returns a logger instance for logging informations of this bundle.
        Parameters:
        loggedClass - The class to log (one of this bundle).
        Returns:
        ILogger A logger instance for this specified class.