@TODO(note="Make loading processors configurable: exclude specific classes, turn-off automatic loading and include specific classes. In all cases checking agains XMPPProcessor compatibility should be performed.") public class ProcessorFactory extends Object
ProcessorFactory
class contains functionality to load and
provide all classes which are XMPPProcessor
extensions (not
abstract extensions) available in classpath.
These extensions are normally used for processing data transfered between
XMPP entities.XMPPProcessor
extensions, because only those
classes can be used as processors.
Created: Tue Oct 5 20:45:33 2004
Modifier and Type | Method and Description |
---|---|
static XMPPPacketFilterIfc |
getPacketFilter(String id)
Method description
|
static XMPPPostprocessorIfc |
getPostprocessor(String id)
Method description
|
static XMPPPreprocessorIfc |
getPreprocessor(String id)
Method description
|
static XMPPProcessorIfc |
getProcessor(String id)
Method description
|
static XMPPStopListenerIfc |
getStopListener(String id)
Method description
|
static boolean |
hasImplementation(String id)
Check if plugin implementation is in server jar
|
public static XMPPPacketFilterIfc getPacketFilter(String id)
id
- public static XMPPPostprocessorIfc getPostprocessor(String id)
id
- public static XMPPPreprocessorIfc getPreprocessor(String id)
id
- public static XMPPProcessorIfc getProcessor(String id)
id
- public static XMPPStopListenerIfc getStopListener(String id)
id
- public static boolean hasImplementation(String id)
id
- Copyright © 2018 "Tigase, Inc.". All rights reserved.