Class SLF4JDebuggerFactory
- java.lang.Object
-
- org.jivesoftware.smackx.debugger.slf4j.SLF4JDebuggerFactory
-
- All Implemented Interfaces:
SmackDebuggerFactory
public final class SLF4JDebuggerFactory extends Object implements SmackDebuggerFactory
Implementation of SmackDebuggerFactory which always creates instance of SLF4JSmackDebugger.
-
-
Field Summary
Fields Modifier and Type Field Description static SLF4JDebuggerFactory
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmackDebugger
create(XMPPConnection connection)
Initialize the new SmackDebugger instance.
-
-
-
Field Detail
-
INSTANCE
public static final SLF4JDebuggerFactory INSTANCE
-
-
Method Detail
-
create
public SmackDebugger create(XMPPConnection connection) throws IllegalArgumentException
Description copied from interface:SmackDebuggerFactory
Initialize the new SmackDebugger instance.- Specified by:
create
in interfaceSmackDebuggerFactory
- Parameters:
connection
- the XMPP connection this debugger is going to get attached to.- Returns:
- SmackDebugger.
- Throws:
IllegalArgumentException
- if the SmackDebugger can't be loaded.
-
-