Package tigase.muc.modules
Class VCardModule
- java.lang.Object
-
- tigase.component.modules.AbstractModule
-
- tigase.muc.modules.AbstractMucModule
-
- tigase.muc.modules.VCardModule
-
- All Implemented Interfaces:
tigase.component.modules.Module
,tigase.kernel.beans.Initializable
,tigase.kernel.beans.UnregisterAware
,RoomFeatures
@Bean(name="vcard", active=true) public class VCardModule extends AbstractMucModule implements RoomFeatures, tigase.kernel.beans.Initializable, tigase.kernel.beans.UnregisterAware
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VCardModule.VCardChangedEvent
-
Constructor Summary
Constructors Constructor Description VCardModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeUnregister()
java.lang.String[]
getFeatures()
tigase.criteria.Criteria
getModuleCriteria()
java.lang.String[]
getRoomFeatures(Room room)
void
initialize()
void
onAvatarChanged(VCardModule.VCardChangedEvent event)
void
process(tigase.server.Packet packet)
-
Methods inherited from class tigase.muc.modules.AbstractMucModule
createResultIQ, getNicknameFromJid, sendMucMessage
-
Methods inherited from class tigase.component.modules.AbstractModule
fireEvent, getEventBus, getWriter, setEventBus, setWriter, write, write
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
XMLNS
public static final java.lang.String XMLNS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getModuleCriteria
public tigase.criteria.Criteria getModuleCriteria()
- Specified by:
getModuleCriteria
in interfacetigase.component.modules.Module
-
getFeatures
public java.lang.String[] getFeatures()
- Specified by:
getFeatures
in interfacetigase.component.modules.Module
-
getRoomFeatures
public java.lang.String[] getRoomFeatures(Room room)
- Specified by:
getRoomFeatures
in interfaceRoomFeatures
-
process
public void process(tigase.server.Packet packet) throws tigase.component.exceptions.ComponentException, tigase.util.stringprep.TigaseStringprepException
- Specified by:
process
in interfacetigase.component.modules.Module
- Throws:
tigase.component.exceptions.ComponentException
tigase.util.stringprep.TigaseStringprepException
-
initialize
public void initialize()
- Specified by:
initialize
in interfacetigase.kernel.beans.Initializable
-
beforeUnregister
public void beforeUnregister()
- Specified by:
beforeUnregister
in interfacetigase.kernel.beans.UnregisterAware
-
onAvatarChanged
@HandleEvent(filter=remote) public void onAvatarChanged(VCardModule.VCardChangedEvent event)
-
-