org.mobicents.slee.enabler.userprofile.jpa.jmx
Interface UserProfileControlManagementMBean

All Known Implementing Classes:
UserProfileControlManagement

public interface UserProfileControlManagementMBean

JMX Configuration of the User Profile Control.

Author:
martins

Field Summary
static java.lang.String MBEAN_NAME
           
 
Method Summary
 void addUser(java.lang.String username, java.lang.String password)
          Adds a new user with the specified username and password.
 java.lang.String[] listUsers()
          Retrieves all users.
 java.lang.String listUsersAsString()
          Retrieves all users, separated by commas, in a single string.
 boolean removeUser(java.lang.String username)
          Removes the user with specified username.
 

Field Detail

MBEAN_NAME

static final java.lang.String MBEAN_NAME
See Also:
Constant Field Values
Method Detail

addUser

void addUser(java.lang.String username,
             java.lang.String password)
             throws java.lang.NullPointerException,
                    java.lang.IllegalStateException
Adds a new user with the specified username and password.

Parameters:
username -
password -
Throws:
java.lang.NullPointerException - if the username is null
java.lang.IllegalStateException - if the user already exists

removeUser

boolean removeUser(java.lang.String username)
                   throws java.lang.NullPointerException
Removes the user with specified username.

Parameters:
username -
Returns:
true if the user existed and was removed, false otherwise
Throws:
java.lang.NullPointerException - if the username is null

listUsers

java.lang.String[] listUsers()
Retrieves all users.

Returns:
Throws:
ManagementException - if an unexpected error occurred

listUsersAsString

java.lang.String listUsersAsString()
Retrieves all users, separated by commas, in a single string.

Returns:


Copyright © 2010. All Rights Reserved.