public final class ReflectionDebuggerFactory extends java.lang.Object implements SmackDebuggerFactory
| Modifier and Type | Field and Description |
|---|---|
static ReflectionDebuggerFactory |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
SmackDebugger |
create(XMPPConnection connection)
Initialize the new SmackDebugger instance.
|
static java.lang.Class<SmackDebugger> |
getDebuggerClass()
Returns debugger class used by this factory.
|
static void |
setDebuggerClass(java.lang.Class<? extends SmackDebugger> debuggerClass)
Sets custom debugger class to be created by this factory.
|
public static final ReflectionDebuggerFactory INSTANCE
public static void setDebuggerClass(java.lang.Class<? extends SmackDebugger> debuggerClass)
debuggerClass - class to be used by this factorypublic static java.lang.Class<SmackDebugger> getDebuggerClass()
public SmackDebugger create(XMPPConnection connection) throws java.lang.IllegalArgumentException
SmackDebuggerFactorycreate in interface SmackDebuggerFactoryconnection - the XMPP connection this debugger is going to get attached to.java.lang.IllegalArgumentException - if the SmackDebugger can't be loaded.