tigase.xmpp
Class ProcessorFactory
java.lang.Object
tigase.xmpp.ProcessorFactory
@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 java.lang.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.
It automatically loads and provides all available processors unless
configuration says to behave differently. You can for example exclude in
configuration some processors from loading or even you can turn off automatic
loading processors and provide explicity names of classes which should be
loaded as XMPP processors. In all cases loaded classes ae checked
whether they are XMPPProcessor extensions, because only those
classes can be used as processors.
Created: Tue Oct 5 20:45:33 2004
- Version:
- $Rev: 1278 $
- Author:
- Artur Hefczyc
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getProcessor
public static XMPPProcessorIfc getProcessor(java.lang.String id)
getPreprocessor
public static XMPPPreprocessorIfc getPreprocessor(java.lang.String id)
getPostprocessor
public static XMPPPostprocessorIfc getPostprocessor(java.lang.String id)
getStopListener
public static XMPPStopListenerIfc getStopListener(java.lang.String id)
Copyright © 2008 Tigase. All Rights Reserved.