Interface UserMBean
-
- All Known Implementing Classes:
User
public interface UserMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddInterceptorsIN(String interceptors)add interceptorsvoidaddInterceptorsOUT(String interceptors)add interceptorsvoidclearSubscription(String subName)voiddelete()Removes this user.voiddeleteMessage(String subName, String msgId)StringgetDMQId()Returns the dead message queue Id for this user, null if not set.StringgetInterceptorsIN()get interceptors.StringgetInterceptorsOUT()get interceptors.StringgetMessageDigest(String subName, String msgId)PropertiesgetMessageHeader(String subName, String msgId)String[]getMessageIds(String subName)PropertiesgetMessageProperties(String subName, String msgId)StringgetName()Returns the user name.intgetNbMaxMsg(String subName)StringgetProxyId()Returns the identifier of the user's proxy.SubscriptiongetSubscription(String subName)Subscription[]getSubscriptions()Returns the subscriptions owned by a user.StringgetSubscriptionString(String subName)Returns a subscription.intgetThreshold()Returns the threshold for this user, -1 if not set.voidremoveInterceptorsIN(String interceptors)remove interceptorsvoidremoveInterceptorsOUT(String interceptors)remove interceptorsvoidsetDMQId(String dmqId)Admin method setting a given dead message queue Id for this user.voidsetNbMaxMsg(String subName, int nbMaxMsg)voidsetThreshold(int thresh)Admin method setting a given value as the threshold for this user.StringtoString()Returns a string view of thisUserinstance.
-
-
-
Method Detail
-
toString
String toString()
Returns a string view of thisUserinstance.
-
getName
String getName()
Returns the user name.
-
delete
void delete() throws ConnectException, AdminExceptionRemoves this user.- Throws:
ConnectExceptionAdminException
-
setDMQId
void setDMQId(String dmqId) throws ConnectException, AdminException
Admin method setting a given dead message queue Id for this user.- Throws:
ConnectExceptionAdminException
-
setThreshold
void setThreshold(int thresh) throws ConnectException, AdminExceptionAdmin method setting a given value as the threshold for this user.- Throws:
ConnectExceptionAdminException
-
setNbMaxMsg
void setNbMaxMsg(String subName, int nbMaxMsg) throws ConnectException, AdminException
- Throws:
ConnectExceptionAdminException
-
getNbMaxMsg
int getNbMaxMsg(String subName) throws ConnectException, AdminException
- Throws:
ConnectExceptionAdminException
-
getDMQId
String getDMQId() throws ConnectException, AdminException
Returns the dead message queue Id for this user, null if not set.- Throws:
ConnectExceptionAdminException
-
getThreshold
int getThreshold() throws ConnectException, AdminExceptionReturns the threshold for this user, -1 if not set.- Throws:
ConnectExceptionAdminException
-
getSubscriptions
Subscription[] getSubscriptions() throws AdminException, ConnectException
Returns the subscriptions owned by a user.- Throws:
AdminExceptionConnectException
-
getSubscriptionString
String getSubscriptionString(String subName) throws ConnectException, AdminException
Returns a subscription.- Throws:
ConnectExceptionAdminException
-
getSubscription
Subscription getSubscription(String subName) throws AdminException, ConnectException
- Throws:
AdminExceptionConnectException
-
getMessageIds
String[] getMessageIds(String subName) throws ConnectException, AdminException
- Throws:
ConnectExceptionAdminException
-
getMessageDigest
String getMessageDigest(String subName, String msgId) throws AdminException, ConnectException, JMSException
-
getMessageHeader
Properties getMessageHeader(String subName, String msgId) throws ConnectException, AdminException, JMSException
-
getMessageProperties
Properties getMessageProperties(String subName, String msgId) throws ConnectException, AdminException, JMSException
-
deleteMessage
void deleteMessage(String subName, String msgId) throws AdminException, ConnectException
- Throws:
AdminExceptionConnectException
-
clearSubscription
void clearSubscription(String subName) throws AdminException, ConnectException
- Throws:
AdminExceptionConnectException
-
getProxyId
String getProxyId()
Returns the identifier of the user's proxy.
-
addInterceptorsIN
void addInterceptorsIN(String interceptors) throws ConnectException, AdminException
add interceptors- Parameters:
interceptors- list of string className interceptor (separate with ",")- Throws:
ConnectExceptionAdminException
-
getInterceptorsIN
String getInterceptorsIN() throws ConnectException, AdminException
get interceptors.- Returns:
- list of string className interceptor (separate with ",")
- Throws:
ConnectExceptionAdminException
-
removeInterceptorsIN
void removeInterceptorsIN(String interceptors) throws ConnectException, AdminException
remove interceptors- Parameters:
interceptors- list of string className interceptor (separate with ",")- Throws:
ConnectExceptionAdminException
-
addInterceptorsOUT
void addInterceptorsOUT(String interceptors) throws ConnectException, AdminException
add interceptors- Parameters:
interceptors- list of string className interceptor (separate with ",")- Throws:
ConnectExceptionAdminException
-
getInterceptorsOUT
String getInterceptorsOUT() throws ConnectException, AdminException
get interceptors.- Returns:
- list of string className interceptor (separate with ",")
- Throws:
ConnectExceptionAdminException
-
removeInterceptorsOUT
void removeInterceptorsOUT(String interceptors) throws ConnectException, AdminException
remove interceptors- Parameters:
interceptors- list of string className interceptor (separate with ",")- Throws:
ConnectExceptionAdminException
-
-