|
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 |
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(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() Will lookup the PresenceConsumer EJB on the WLSS side of the plugin. |
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 |
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() 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 applicationInstanceID Use this method to remove any cache information we might have on an application instance that has been deleted. |
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) 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 |
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 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
- is the cache to clear. Valid options {NOTIFICATIONS,SUBSCRIPTIONS,URIMAPPINGS,ALL} ie. invoking this method with ALL will clear all caches.ManagementException
public boolean connectToWLSS()
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 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 failedManagementException
public String[] listSubscriptionsCache() throws ManagementException
OAMException
- if lookup failedManagementException
public String[] listURIMappingCache() throws ManagementException
OAMException
- if lookup failedManagementException
public void removeApplicationInstanceFromCache(String applicationInstanceID) throws ManagementException
applicationInstanceID
- the application instance IDOAMException
ManagementException
public void removeNotification(String applicationInstanceID, String presentity) throws ManagementException
applicationInstanceID
- the application instance ID that identifies this subscriptionpresentity
- presentityOAMException
- is operation is not successfulManagementException
public void removeSubscription(String applicationInstanceID, String presentity) throws ManagementException
applicationInstanceID
- the application instance ID that identifies this subscriptionpresentity
- presentityOAMException
- if operation is not successfulManagementException
public void setApplicationInstanceSIPURI(String applicationInstanceID, String URI) throws StorageException, URISyntaxException
applicationInstanceID
- The application instance ID.URI
-URISyntaxException
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 setSIPNodePassword(String password)
password
- the password.public void setSIPNodeUrl(String url)
url
- SIP server JNDI URLpublic void setSIPNodeUsername(String username)
username
- the user name.public void setSubscriptionCleanupTimerValue(int seconds) 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 |