Package tigase.xmpp.impl
Class VCardXMPPProcessorAbstract
java.lang.Object
tigase.xmpp.XMPPProcessor
tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
tigase.xmpp.XMPPProcessorAbstract
tigase.xmpp.impl.VCardXMPPProcessorAbstract
- All Implemented Interfaces:
Comparable<XMPPImplIfc>,Initializable,UnregisterAware,XMPPImplIfc,XMPPProcessorConcurrencyAwareIfc,XMPPProcessorIfc
public abstract class VCardXMPPProcessorAbstract
extends XMPPProcessorAbstract
implements Initializable, UnregisterAware
- Author:
- andrzej
-
Field Summary
Fields inherited from class tigase.xmpp.XMPPProcessor
ALL_NAMES, ALL_PATHS, cmpInfoFields inherited from interface tigase.xmpp.XMPPImplIfc
CLIENT_XMLNS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod called before bean unregister.static ElementconvertVCard4ToVCardTemp(Element vcard4) static ElementconvertVCardTempToVCard4(Element vcardTemp) protected abstract StringvoidMethod will be called, when bean will be created, configured and ready to use.protected voidsetVCard(XMPPResourceConnection session, Element vcard) protected abstract voidstoreVCard(XMPPResourceConnection session, Element vcard) Methods inherited from class tigase.xmpp.XMPPProcessorAbstract
isFromUserSession, isNullSession, isServerSession, isToUserSession, process, processFromUserOutPacket, processFromUserPacket, processFromUserToServerPacket, processNullSessionPacket, processServerSessionPacket, processToUserPacketMethods inherited from class tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
id, supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypesMethods inherited from class tigase.xmpp.XMPPProcessor
canHandle, compareTo, concurrentQueuesNo, getComponentInfo, getInstance, getQueueSize, getStatistics, getThreadsNo, init, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface tigase.xmpp.XMPPImplIfc
canHandle, concurrentQueuesNo, getComponentInfo, getStatistics, id, init, supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypes
-
Constructor Details
-
VCardXMPPProcessorAbstract
public VCardXMPPProcessorAbstract()
-
-
Method Details
-
convertVCard4ToVCardTemp
-
convertVCardTempToVCard4
-
beforeUnregister
public void beforeUnregister()Description copied from interface:UnregisterAwareMethod called before bean unregister.- Specified by:
beforeUnregisterin interfaceUnregisterAware
-
getVCardXMLNS
-
initialize
public void initialize()Description copied from interface:InitializableMethod will be called, when bean will be created, configured and ready to use.- Specified by:
initializein interfaceInitializable
-
setVCard
protected void setVCard(XMPPResourceConnection session, Element vcard) throws TigaseDBException, NotAuthorizedException -
storeVCard
protected abstract void storeVCard(XMPPResourceConnection session, Element vcard) throws TigaseDBException, NotAuthorizedException
-