*** This class provides Binary Compatibility only, not Source Compatibility ***
Package com.sas.services.user
Class UserServiceMBean
java.lang.Object
javax.management.NotificationBroadcasterSupport
com.sas.services.util.AbstractMBean
com.sas.services.user.UserServiceMBean
- All Implemented Interfaces:
javax.management.DynamicMBean,javax.management.NotificationBroadcaster,javax.management.NotificationEmitter
@SASScope("ALL")
@BinaryCompatibilityOnly
public class UserServiceMBean
extends AbstractMBean
User Service MBean.
- Since:
- 9.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final String[]static final String[]static final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.sas.services.util.AbstractMBean
READ_ACCESS, WRITE_ACCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionStringdestroyUser(String userContextId) intintjavax.management.openmbean.TabularDataDateprotected ObjectGet the target object for this MBean.intjavax.management.openmbean.TabularDataInvoked by the User Service MBean to obtain the user summary information for all active user contexts.Methods inherited from class com.sas.services.util.AbstractMBean
addMBeanAttribute, addMBeanConstructor, addMBeanNotification, addMBeanOperation, getAttribute, getAttributes, getMBeanInfo, getNotificationInfo, getType, invoke, removeMBeanAttribute, setAttribute, setAttributesMethods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotificationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SUMMARY_DATA_DESCRIPTIONS
public static final String[] SUMMARY_DATA_DESCRIPTIONS -
SUMMARY_TABULARTYPE_NAME
public static final String SUMMARY_TABULARTYPE_NAME- See Also:
-
SUMMARY_TABULARTYPE_DESCRIPTION
public static final String SUMMARY_TABULARTYPE_DESCRIPTION -
SUMMARY_DATA_INDEX_NAMES
public static final String[] SUMMARY_DATA_INDEX_NAMES -
DESTROY_USER_METHOD_NAME
public static final String DESTROY_USER_METHOD_NAME- See Also:
-
DESTROY_USER_DESCRIPTION
public static final String DESTROY_USER_DESCRIPTION -
USERCONTEXT_ID_PARM_NAME
public static final String USERCONTEXT_ID_PARM_NAME -
USERCONTEXT_ID_PARM_DESCRIPTION
public static final String USERCONTEXT_ID_PARM_DESCRIPTION
-
-
Constructor Details
-
UserServiceMBean
public UserServiceMBean()
-
-
Method Details
-
destroyUser
public String destroyUser(String userContextId) throws Exception - Throws:
Exception
-
getUserCount
public int getUserCount() -
getFailureCount
public int getFailureCount() -
getAuthCount
public int getAuthCount() -
getServiceStart
public Date getServiceStart() -
getUserDetailData
public javax.management.openmbean.TabularData getUserDetailData() throws ExceptionInvoked by the User Service MBean to obtain the user summary information for all active user contexts.- Returns:
TabularDatarepresenting the user summary data for all active user contexts..- Throws:
Exception- if something bad happens.
-
getFailureDetailData
public javax.management.openmbean.TabularData getFailureDetailData() throws Exception- Throws:
Exception
-
getTargetObject
protected Object getTargetObject()Get the target object for this MBean. This will be this Logging Service MBean. Note that if we didn't need to intercept invocations of changeLoggerPriority, so that we can emit AttributeChangeNotifications then we could set the target object to the logging service and let its methods be invoked directly from the jmx server.- Specified by:
getTargetObjectin classAbstractMBean- Returns:
- the target object for this MBean.
-