public class PEPServiceManager extends Object
PEPService
instances.Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
Log |
Constructor and Description |
---|
PEPServiceManager() |
Modifier and Type | Method and Description |
---|---|
PEPService |
create(org.xmpp.packet.JID owner) |
PEPService |
getPEPService(String jid)
Retrieves a PEP service -- attempting first from memory, then from the
database.
|
boolean |
hasCachedService(org.xmpp.packet.JID owner) |
void |
process(PEPService service,
org.xmpp.packet.IQ iq) |
void |
remove(org.xmpp.packet.JID owner)
Deletes the
PEPService belonging to the specified owner. |
void |
start() |
void |
start(PEPService pepService) |
void |
stop() |
void |
unload(PEPService service) |
public PEPService getPEPService(String jid)
jid
- the bare JID of the user that owns the PEP service.public PEPService create(org.xmpp.packet.JID owner)
public void remove(org.xmpp.packet.JID owner)
PEPService
belonging to the specified owner.owner
- The JID of the owner of the service to be deleted.public void start(PEPService pepService)
public void start()
public void stop()
public void process(PEPService service, org.xmpp.packet.IQ iq)
public boolean hasCachedService(org.xmpp.packet.JID owner)
public void unload(PEPService service)
Copyright © 2003-2008 Jive Software.