This interface specifies the behavior to be implemented by an
MBean Server Interceptor. An MBean Server Interceptor has
essentially the same interface as an MBean Server. An MBean Server
forwards received requests to its default interceptor, which may
handle them itself or forward them to other interceptors. The
default interceptor may be changed via the com.
method.
The initial default interceptor provides the standard MBean
Server behavior. It handles a collection of named MBeans, each
represented by a Java object. A replacement default interceptor
may build on this behavior, for instance by adding logging or
security checks, before forwarding requests to the initial default
interceptor. Or, it may route each request to one of a number of
sub-interceptors, for instance based on the ObjectName in
the request.
An interceptor, default or not, need not implement MBeans as Java objects, in the way that the initial default interceptor does. It may instead implement virtual MBeans, which do not exist as Java objects when they are not in use. For example, these MBeans could be implemented by forwarding requests to a database, or to a remote MBean server, or by performing system calls to query or modify system resources.
| Modifier and Type | Method and Description |
|---|---|
| public ClassLoaderRepository | getClassLoaderRepository()
Redeclares javax. This method should never be called. |
| public Object | instantiate(String className)
Redeclares javax. This method should never be called. |
| public Object | instantiate(String className, ObjectName loaderName)
Redeclares javax. This method should never be called. |
| public Object | instantiate(String className, Object[] params, String[] signature)
Redeclares javax. This method should never be called. |
| public Object | instantiate(String className, ObjectName loaderName, Object[] params, String[] signature)
Redeclares javax. This method should never be called. |
| getClassLoaderRepository | back to summary |
|---|---|
| public ClassLoaderRepository getClassLoaderRepository() Redeclares javax. This method should never be called. Usually throws UnsupportedOperationException. | |
| instantiate | back to summary |
|---|---|
| public Object instantiate(String className) throws ReflectionException, MBeanException Redeclares javax. This method should never be called. Usually hrows UnsupportedOperationException.
| |
| instantiate | back to summary |
|---|---|
| public Object instantiate(String className, ObjectName loaderName) throws ReflectionException, MBeanException, InstanceNotFoundException Redeclares javax. This method should never be called. Usually throws UnsupportedOperationException.
| |
| instantiate | back to summary |
|---|---|
| public Object instantiate(String className, Object[] params, String[] signature) throws ReflectionException, MBeanException Redeclares javax. This method should never be called. Usually throws UnsupportedOperationException.
| |
| instantiate | back to summary |
|---|---|
| public Object instantiate(String className, ObjectName loaderName, Object[] params, String[] signature) throws ReflectionException, MBeanException, InstanceNotFoundException Redeclares javax. This method should never be called. Usually throws UnsupportedOperationException.
| |