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<?> clazz)
      Helper method for getting an Logger for a Class 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<?> clazz)
        Helper method for getting an Logger for a Class of this bundle.
        Parameters:
        clazz - The class of this bundle for which the logger should be returned for.
        Returns:
        The logger instance.