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:
java.lang.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, cmpInfo
-
Fields inherited from interface tigase.xmpp.XMPPImplIfc
CLIENT_XMLNS
-
-
Constructor Summary
Constructors Constructor Description VCardXMPPProcessorAbstract()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidbeforeUnregister()Method called before bean unregister.static ElementconvertVCard4ToVCardTemp(Element vcard4)static ElementconvertVCardTempToVCard4(Element vcardTemp)protected abstract java.lang.StringgetVCardXMLNS()voidinitialize()Method 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, processToUserPacket
-
Methods inherited from class tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
id, supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypes
-
Methods inherited from class tigase.xmpp.XMPPProcessor
canHandle, compareTo, concurrentQueuesNo, getComponentInfo, getInstance, getQueueSize, getStatistics, getThreadsNo, init, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface tigase.xmpp.XMPPImplIfc
canHandle, concurrentQueuesNo, getComponentInfo, getStatistics, id, init, supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypes
-
-
-
-
Method Detail
-
beforeUnregister
public void beforeUnregister()
Description copied from interface:UnregisterAwareMethod called before bean unregister.- Specified by:
beforeUnregisterin interfaceUnregisterAware
-
getVCardXMLNS
protected abstract java.lang.String 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
-
-