tigase.xmpp
Class ProcessorFactory

java.lang.Object
  extended by 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 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: 1984 $
Author:
Artur Hefczyc

Method Summary
static XMPPPacketFilterIfc getPacketFilter(String id)
           
static XMPPPostprocessorIfc getPostprocessor(String id)
           
static XMPPPreprocessorIfc getPreprocessor(String id)
           
static XMPPProcessorIfc getProcessor(String id)
           
static XMPPStopListenerIfc getStopListener(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPacketFilter

public static XMPPPacketFilterIfc getPacketFilter(String id)

getProcessor

public static XMPPProcessorIfc getProcessor(String id)

getPreprocessor

public static XMPPPreprocessorIfc getPreprocessor(String id)

getPostprocessor

public static XMPPPostprocessorIfc getPostprocessor(String id)

getStopListener

public static XMPPStopListenerIfc getStopListener(String id)


Copyright © 2001-2006 Tigase Developers Team. All rights Reserved.