|
Oracle Communications Services Gatekeeper OAM Java API Reference 5.0 E21718-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Runtime MBean to configure the Presence plugin.
Field Summary | |
static int |
defaultNotificationCount The default notification count value. |
static int |
defaultNotificationDuration The value(seconds) of the default notification duration. |
static int |
notificationCleanupTimerValue The value(seconds) of the timer used for checking and cleanup of old notifications. |
static String |
presenceServerAddress Presence Server address (or other node where subscribe requests should be sent) |
static String |
presenceXDMSAddress XCAP root URI of the XDM Server (e.g http://127.0.0.1:8080/services) |
static String |
presenceXDMSPassword The password for HTTP Authentication of XDMS |
static String |
presenceXDMSPresrulesPostfix The last-part of the XCAP Document selector for presence rules(e.g. |
static String |
presenceXDMSPresrulesPrefix The pre-part of the XCAP Document selector for presence rules(e.g. |
static String |
presenceXDMSProviderClassName The class name of XDM Server provider. |
static String |
presenceXDMSUsername The username for HTTP Authentication of XDMS |
static int |
subscribeExpiryValue The value(seconds) of suggested subscription lifetime (default 300 sec): Format: int |
static int |
subscriptionCleanupTimerValue The value(seconds) of the timer used for checking and cleanup of old subscriptions. |
Method Summary | |
void |
clearCache(String cacheToClear) Clears one or all caches. |
String |
getApplicationInstance(String uri) Get the application instance ID associated to the supplied URI. |
String |
getApplicationInstanceSIPURI(String applicationInstanceID) Get the URI associated to the supplied application instance ID. |
int |
getDefaultNotificationCount() |
int |
getDefaultNotificationDuration() |
int |
getNotificationCleanupTimerValue() Get the value of the timer used for checking and cleanup of old notifications. |
String |
getPresenceServerAddress() |
String |
getPresenceXDMSAddress() |
String |
getPresenceXDMSPassword() |
String |
getPresenceXDMSPresrulesPostfix() |
String |
getPresenceXDMSPresrulesPrefix() |
String |
getPresenceXDMSProviderClassName() |
String |
getPresenceXDMSUsername() |
int |
getSubscribeExpiryValue() |
int |
getSubscriptionCleanupTimerValue() Get the value of the timer used for checking and cleanup of old subscriptions. |
String[] |
listNotificationsCache() Debug operation left for troubleshooting. |
String[] |
listSubscriptionsCache() Debug operation left for troubleshooting. |
String[] |
listURIMappingCache() Debug operation left for troubleshooting. |
void |
removeApplicationInstanceFromCache(String applicationInstanceID) Removes entries that are associated to the supplied application instance ID Use this method to remove any cache information we might have on an application instance that has been deleted. |
void |
removeNotification(String appInstGrpId, String presentity) Removes a notification. |
void |
removeSubscription(String appInstGrpId, String presentity) Removes a subscription and notification if there is one. |
void |
setApplicationInstanceSIPURI(String applicationInstanceID, String URI) Associate a sip URI to an application instance. |
void |
setDefaultNotificationCount(int count) |
void |
setDefaultNotificationDuration(int seconds) |
void |
setNotificationCleanupTimerValue(int seconds) Set the value of the timer used for checking and cleanup of old notifications. |
void |
setPresenceServerAddress(String s) |
void |
setPresenceXDMSAddress(String address) |
void |
setPresenceXDMSPassword(String password) |
void |
setPresenceXDMSPresrulesPostfix(String postfix) |
void |
setPresenceXDMSPresrulesPrefix(String prefix) |
void |
setPresenceXDMSProviderClassName(String className) |
void |
setPresenceXDMSUsername(String username) |
void |
setSubscribeExpiryValue(int seconds) |
void |
setSubscriptionCleanupTimerValue(int seconds) Set the value of the timer used for checking and cleanup of old subscriptions. |
void |
updateSubscriptionToBeConfirmed(String presentity, String watcher) Debug operation left for testing. |
Field Detail |
public static final int defaultNotificationCount
public static final int defaultNotificationDuration
public static final int notificationCleanupTimerValue
public static final String presenceServerAddress
public static final String presenceXDMSAddress
public static final String presenceXDMSPassword
public static final String presenceXDMSPresrulesPostfix
public static final String presenceXDMSPresrulesPrefix
public static final String presenceXDMSProviderClassName
public static final String presenceXDMSUsername
public static final int subscribeExpiryValue
public static final int subscriptionCleanupTimerValue
Method Detail |
public void clearCache(String cacheToClear) throws ManagementException
cacheToClear
- is the cache to clear. Valid options {NOTIFICATIONS,SUBSCRIPTIONS,URIMAPPINGS,ALL} ie. invoking this method with ALL will clear all caches.ManagementException
public String getApplicationInstance(String uri) throws StorageException
uri
-StorageException
- if the underlying storage facility fails.public String getApplicationInstanceSIPURI(String applicationInstanceID) throws StorageException
applicationInstanceID
- the application instance IDStorageException
- if the underlying storage facility fails.public int getDefaultNotificationCount() throws ManagementException
ManagementException
public int getDefaultNotificationDuration() throws ManagementException
ManagementException
public int getNotificationCleanupTimerValue()
public String getPresenceServerAddress() throws ManagementException
ManagementException
public String getPresenceXDMSAddress() throws ManagementException
ManagementException
public String getPresenceXDMSPassword() throws ManagementException
ManagementException
public String getPresenceXDMSPresrulesPostfix() throws ManagementException
ManagementException
public String getPresenceXDMSPresrulesPrefix() throws ManagementException
ManagementException
public String getPresenceXDMSProviderClassName() throws ManagementException
ManagementException
public String getPresenceXDMSUsername() throws ManagementException
ManagementException
public int getSubscribeExpiryValue() throws ManagementException
ManagementException
public int getSubscriptionCleanupTimerValue()
public String[] listNotificationsCache() throws ManagementException
ManagementException
- if lookup failedpublic String[] listSubscriptionsCache() throws ManagementException
ManagementException
- if lookup failedpublic String[] listURIMappingCache() throws ManagementException
ManagementException
- if lookup failedpublic void removeApplicationInstanceFromCache(String applicationInstanceID) throws ManagementException
applicationInstanceID
- the application instance IDManagementException
public void removeNotification(String appInstGrpId, String presentity) throws ManagementException
appInstGrpId
- the userid that identifies this subscriptionpresentity
- presentityManagementException
- is operation is not successfulpublic void removeSubscription(String appInstGrpId, String presentity) throws ManagementException
appInstGrpId
- the userid that identifies this subscriptionpresentity
- presentityManagementException
- if operation is not successfulpublic void setApplicationInstanceSIPURI(String applicationInstanceID, String URI) throws StorageException, URISyntaxException
applicationInstanceID
- the application instance IDURI
- the sip URIURISyntaxException
StorageException
- if the sip URI is already associated with another application instance or if the underlying storage facility fails.public void setDefaultNotificationCount(int count) throws ManagementException
ManagementException
public void setDefaultNotificationDuration(int seconds) throws ManagementException
ManagementException
public void setNotificationCleanupTimerValue(int seconds) throws ManagementException
ManagementException
public void setPresenceServerAddress(String s) throws ManagementException
ManagementException
public void setPresenceXDMSAddress(String address) throws ManagementException
ManagementException
public void setPresenceXDMSPassword(String password) throws ManagementException
ManagementException
public void setPresenceXDMSPresrulesPostfix(String postfix) throws ManagementException
ManagementException
public void setPresenceXDMSPresrulesPrefix(String prefix) throws ManagementException
ManagementException
public void setPresenceXDMSProviderClassName(String className) throws ManagementException
ManagementException
public void setPresenceXDMSUsername(String username) throws ManagementException
ManagementException
public void setSubscribeExpiryValue(int seconds) throws ManagementException
ManagementException
public void setSubscriptionCleanupTimerValue(int seconds) throws ManagementException
ManagementException
public void updateSubscriptionToBeConfirmed(String presentity, String watcher) throws ManagementException
ManagementException
|
Oracle Communications Services Gatekeeper OAM Java API Reference 5.0 E21718-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |