mx4j.server.interceptor

Class SecurityMBeanServerInterceptor

public class SecurityMBeanServerInterceptor extends DefaultMBeanServerInterceptor implements SecurityMBeanServerInterceptorMBean

Interceptor that takes care of performing security checks (in case the SecurityManager is installed) for MBeanServer to MBean calls.

Version: $Revision: 1.14 $

Method Summary
voidaddNotificationListener(MBeanMetaData metadata, NotificationListener listener, NotificationFilter filter, Object handback)
ObjectgetAttribute(MBeanMetaData metadata, String attribute)
AttributeListgetAttributes(MBeanMetaData metadata, String[] attributes)
MBeanInfogetMBeanInfo(MBeanMetaData metadata)
StringgetType()
voidinstantiate(MBeanMetaData metadata, String className, String[] params, Object[] args)
Objectinvoke(MBeanMetaData metadata, String method, String[] params, Object[] args)
booleanisEnabled()
voidregistration(MBeanMetaData metadata, int operation)
voidremoveNotificationListener(MBeanMetaData metadata, NotificationListener listener)
voidremoveNotificationListener(MBeanMetaData metadata, NotificationListener listener, NotificationFilter filter, Object handback)
voidsetAttribute(MBeanMetaData metadata, Attribute attribute)
AttributeListsetAttributes(MBeanMetaData metadata, AttributeList attributes)

Method Detail

addNotificationListener

public void addNotificationListener(MBeanMetaData metadata, NotificationListener listener, NotificationFilter filter, Object handback)

getAttribute

public Object getAttribute(MBeanMetaData metadata, String attribute)

getAttributes

public AttributeList getAttributes(MBeanMetaData metadata, String[] attributes)

getMBeanInfo

public MBeanInfo getMBeanInfo(MBeanMetaData metadata)

getType

public String getType()

instantiate

public void instantiate(MBeanMetaData metadata, String className, String[] params, Object[] args)

invoke

public Object invoke(MBeanMetaData metadata, String method, String[] params, Object[] args)

isEnabled

public boolean isEnabled()

registration

public void registration(MBeanMetaData metadata, int operation)

removeNotificationListener

public void removeNotificationListener(MBeanMetaData metadata, NotificationListener listener)

removeNotificationListener

public void removeNotificationListener(MBeanMetaData metadata, NotificationListener listener, NotificationFilter filter, Object handback)

setAttribute

public void setAttribute(MBeanMetaData metadata, Attribute attribute)

setAttributes

public AttributeList setAttributes(MBeanMetaData metadata, AttributeList attributes)
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.