Class Bundle
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.Bundle
-
public class Bundle extends java.lang.ObjectStores data about the containing OSGi bundle (static bundle without activator).- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIDStores the bundle ID.
-
Constructor Summary
Constructors Constructor Description Bundle()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EASyLoggerFactory.EASyLoggergetLogger(java.lang.Class<?> loggedClass)Returns a logger instance for logging informations of this bundle.
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
Stores the bundle ID.- See Also:
- Constant Field Values
-
-
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.
-
-