|
Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference E14785-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.sdp.presence.integration.BuddyListManagerFactory
public abstract class BuddyListManagerFactory
Factory for creating BuddyListManager
s to use for manipulating contact lists
and presence authorization rules.
Method Summary | |
---|---|
abstract BuddyListManager |
createBuddyListManager(java.net.URI user,
Map<java.lang.String,java.lang.Object> parameters)
Factory method for creating new Buddy List Managers. |
BuddyListManager |
createBuddyListManager(java.net.URI user,
Properties props)
Deprecated. |
static BuddyListManagerFactory |
getInstance(java.net.URI xcapRoot,
Map<java.lang.String,java.lang.Object> parameters)
Obtain an instance of this factory. |
static BuddyListManagerFactory |
getInstance(java.net.URI xcapRoot,
Properties props)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract BuddyListManager createBuddyListManager(java.net.URI user, Map<java.lang.String,java.lang.Object> parameters) throws java.lang.IllegalArgumentException
Factory method for creating new Buddy List Managers.
The URI of the user is e.g. "sip:alice@example.com" and the BuddyListManager that is created is buddy list manager for Alice. Hence, all operation invoked on that BuddyListManager will be in the context of Alice. Hence, each user will have to create their own BuddyListManager in order to manipulate their buddy lists. See example in getInstance().
user
- the user who this BuddyListManager will "belong" to. This URI
must either be sip or a tel-uri.parameters
- way of specifying optional settings.
java.lang.IllegalArgumentException
- in case the user is null or not a SIP uri
or a tel uri.@Deprecated public BuddyListManager createBuddyListManager(java.net.URI user, Properties props) throws java.lang.IllegalArgumentException
user
- props
-
java.lang.IllegalArgumentException
public static BuddyListManagerFactory getInstance(java.net.URI xcapRoot, Map<java.lang.String,java.lang.Object> parameters) throws java.lang.IllegalArgumentException
Mapparams = new HashMap (); params.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, mWsUrl); params.put(BindingProvider.USERNAME_PROPERTY, mUsername); params.put(BindingProvider.PASSWORD_PROPERTY, mPassword); params.put(XDMClientFactory.PROP_ASSERTED_IDENTITY, assertedId); BuddyListManagerFactory factory = BuddyListManagerFactory.getInstance(new URI(mXdmsUrl), params); BuddyListManager manager = factory.createBuddyListManager(user, params);
xcapRoot
- The URI pointing to the XCAP root. For an XDMC implemented
in a UE this will be pointing to the Aggregation Proxy.
For an XDMC implemented in a server on the trusted
network this xcap root could point to the actual enabler
specific XDMS.parameters
- way of specifying optional settings. Current properties
see XDMClientFactory.createXDMClient() for details
java.lang.IllegalArgumentException
- in case the XCAP root is null or not an
HTTP/S url@Deprecated public static BuddyListManagerFactory getInstance(java.net.URI xcapRoot, Properties props) throws java.lang.IllegalArgumentException
xcapRoot
- props
-
java.lang.IllegalArgumentException
|
Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference E14785-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |