public class MarkerFactory extends Object
Marker
instances as
appropriate for the logging system currently in use.
This class is essentially implemented as a wrapper around an
IMarkerFactory
instance bound at compile time.
Please note that all methods in this class are static.
Modifier and Type | Method and Description |
---|---|
static Marker |
getDetachedMarker(String name)
Create a marker which is detached (even at birth) from the MarkerFactory.
|
static IMarkerFactory |
getIMarkerFactory()
Return the
IMarkerFactory instance in use. |
static Marker |
getMarker(String name)
Return a Marker instance as specified by the name parameter using the
previously bound
IMarkerFactory instance. |
public static Marker getMarker(String name)
IMarkerFactory
instance.name
- The name of the Marker
object to return.public static Marker getDetachedMarker(String name)
public static IMarkerFactory getIMarkerFactory()
IMarkerFactory
instance in use.
The IMarkerFactory instance is usually bound with this class at compile time.
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.