|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Runtime MBean to configure the Presence plug-in.
Field Summary | |
static int |
defaultNotificationCount The default notification count value. |
static int |
defaultNotificationDuration The value (in seconds) of the default notification duration. |
static int |
notificationCleanupTimerValue The value (in seconds) of the timer used for checking and cleanup of old notifications. |
static String |
SIPNodePassword The password used in the JNDI lookup of WLSS. |
static String |
SIPNodeUrl The URL to the WLSS, typically t3://127.0.0.1:7001. |
static String |
SIPNodeUsername The username used in the JNDI lookup of WLSS. |
static int |
subscriptionCleanupTimerValue The value (in seconds) of the timer used for checking and cleanup of old subscriptions. |
Method Summary | |
void |
clearCache(String cacheToClear) Clears one or all caches. |
boolean |
connectToWLSS() Looks up the PresenceConsumer EJB on the WLSS side of the plugin. |
String |
getApplicationInstance(String uri) Gets the application instance ID associated with the supplied URI. |
String |
getApplicationInstanceSIPURI(String applicationInstanceID) Gets the URI associated with the supplied application instance ID. |
int |
getDefaultNotificationCount() |
int |
getDefaultNotificationDuration() |
int |
getNotificationCleanupTimerValue() Gets the value of the timer used for checking and cleanup of old notifications. |
String |
getSIPNodePassword() Gets the JNDI password to access the SIP server. |
String |
getSIPNodeUrl() Gets the SIP server JNDI URL. |
String |
getSIPNodeUsername() Gets the JNDI user name to access the SIP server. |
int |
getSubscriptionCleanupTimerValue() Gets 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 with the supplied applicationInstanceID. |
void |
removeNotification(String applicationInstanceID, String presentity) Removes a notification. |
void |
removeSubscription(String applicationInstanceID, String presentity) Removes a subscription and notification if there is one. |
void |
setApplicationInstanceSIPURI(String applicationInstanceID, String URI) Associates a SIP URI with an application instance. |
void |
setDefaultNotificationCount(int count) |
void |
setDefaultNotificationDuration(int seconds) |
void |
setNotificationCleanupTimerValue(int seconds) Sets the value of the timer used for checking and cleanup of old notifications. |
void |
setSIPNodePassword(String password) Sets the JNDI password to access the SIP server. |
void |
setSIPNodeUrl(String url) Sets the SIP server JNDI URL. |
void |
setSIPNodeUsername(String username) Sets the JNDI user name to access the SIP server. |
void |
setSubscriptionCleanupTimerValue(int seconds) Set the value (in seconds) of the timer used for checking and cleanup of old subscriptions. |
Field Detail |
public static final int defaultNotificationCount
public static final int defaultNotificationDuration
public static final int notificationCleanupTimerValue
public static final String SIPNodePassword
public static final String SIPNodeUrl
public static final String SIPNodeUsername
public static final int subscriptionCleanupTimerValue
Method Detail |
public void clearCache(String cacheToClear) throws ManagementException
cacheToClear
- The cache to clear. Valid options {NOTIFICATIONS,SUBSCRIPTIONS,URIMAPPINGS,ALL}. For example, invoking this method with ALL will clear all caches.ManagementException
public boolean connectToWLSS()
public String getApplicationInstance(String uri) throws StorageException
StorageException
- if the underlying storage facility fails.public String getApplicationInstanceSIPURI(String applicationInstanceID) throws StorageException
applicationInstanceID
- The application instance ID.StorageException
- if the underlying storage facility fails.public int getDefaultNotificationCount() throws ManagementException
ManagementException
public int getDefaultNotificationDuration() throws ManagementException
ManagementException
public int getNotificationCleanupTimerValue()
public String getSIPNodePassword()
public String getSIPNodeUrl()
public String getSIPNodeUsername()
public int getSubscriptionCleanupTimerValue()
public String[] listNotificationsCache() throws ManagementException
OAMException
- if lookup failed.ManagementException
public String[] listSubscriptionsCache() throws ManagementException
OAMException
- if lookup failedManagementException
public String[] listURIMappingCache() throws ManagementException
OAMException
- if lookup failed.ManagementException
public void removeApplicationInstanceFromCache(String applicationInstanceID) throws ManagementException
applicationInstanceID
- The application instance ID.OAMException.
ManagementException
public void removeNotification(String applicationInstanceID, String presentity) throws ManagementException
applicationInstanceID
- The application instance ID that identifies this subscription.presentity
- Presentity.OAMException
- is operation is not successful.ManagementException
public void removeSubscription(String applicationInstanceID, String presentity) throws ManagementException
applicationInstanceID
- The application instance ID that identifies this subscription.presentity
- Presentity.OAMException
- if operation is not successful.ManagementException
public void setApplicationInstanceSIPURI(String applicationInstanceID, String URI) throws StorageException, URISyntaxException
applicationInstanceID
- The application instance ID.URISyntaxException.
StorageException
- if the sip URI is already associated with another application instance or if the underlying storage facility fails.URISyntaxException
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 setSIPNodePassword(String password)
password
- The password.public void setSIPNodeUrl(String url)
url
- SIP server JNDI URL.public void setSIPNodeUsername(String username)
username
- the user name.public void setSubscriptionCleanupTimerValue(int seconds) throws ManagementException
ManagementException
|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |