站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 console API Documentation 英文版文档

AOPLister (JBoss Console API) - JBoss 4.0.1 sp1 console API Documentation 英文版文档


org.jboss.console.plugins
Class AOPLister

java.lang.Object
  extended byorg.jboss.console.plugins.helpers.AbstractPluginWrapper
      extended byorg.jboss.console.plugins.AOPLister
All Implemented Interfaces:
ConsolePlugin, PluginWrapper, Serializable

public class AOPLister
extends AbstractPluginWrapper

As the number of MBeans is very big, we use a real Java class which is far faster than beanshell

Version:
$Revision: 1.28.2.1 $

Revisions:

2 janv. 2003 Sacha Labourey:

  • First implementation
Author:
Sacha Labourey.
See Also:
, Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jboss.console.plugins.helpers.AbstractPluginWrapper
AbstractPluginWrapper.InternalResourceChecker, AbstractPluginWrapper.RootTreeChecker, AbstractPluginWrapper.SingleMBeanChecker, AbstractPluginWrapper.StandardMBeanChecker, AbstractPluginWrapper.SubFolderChecker
 
Field Summary
 
Fields inherited from class org.jboss.console.plugins.helpers.AbstractPluginWrapper
checker, FOLDER_NAME_PARAM, folderName, IS_ROOT_NODE_PARAM, log, MBEAN_CLASS_PARAM, mbeanClass, mbeanServer, OBJECT_NAME_PARAM, objectName, pluginName, pluginVersion, pm, rootContextName, SCRIPT_NAME_PARAM, WRAPPER_CLASS_PARAM
 
Fields inherited from interface org.jboss.console.manager.interfaces.ConsolePlugin
PLUGIN_PROFILES, WEB_PROFILE
 
Constructor Summary
AOPLister()
           
 
Method Summary
 TreeNode[] createAdvisorNodes(org.jboss.aop.ClassAdvisor advisor)
           
 TreeNode[] createConstructorConstructorCallers(int index, org.jboss.aop.ClassAdvisor advisor, HashMap called)
           
 TreeNode[] createConstructorMethodCallers(int index, org.jboss.aop.ClassAdvisor advisor, HashMap called)
           
 TreeNode[] createMethodConstructorCallers(long callingHash, org.jboss.aop.ClassAdvisor advisor, HashMap called)
           
 TreeNode[] createMethodMethodCallers(long callingHash, org.jboss.aop.ClassAdvisor advisor, HashMap called)
           
 void destroy()
           
protected  TreeNode getTreeForResource(String profile, ManageableResource resource)
           
 TreeNode[] getUnboundBindings()
           
 void init(javax.servlet.ServletConfig servletConfig)
           
static String outputChain(org.jboss.aop.advice.Interceptor[] chain)
           
static String shortenConstructor(String classname, Constructor constructor)
           
static String shortenField(String classname, Field field)
           
static String shortenMethod(String classname, Method method)
           
 
Methods inherited from class org.jboss.console.plugins.helpers.AbstractPluginWrapper
createMenus, createResourceNode, createResourceNode, createTreeNode, encode, findJBossMBeanServer, findPluginManager, fixUrl, getIdentifier, getMBeanServer, getMBeansForClass, getMBeansForQuery, getPluginIdentifier, getPluginVersion, getSubTreeForResource, getSupportedProfiles, getVersion, isResourceToBeManaged, readConfigurationParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AOPLister

public AOPLister()
Method Detail

shortenMethod

public static String shortenMethod(String classname,
                                   Method method)

shortenConstructor

public static String shortenConstructor(String classname,
                                        Constructor constructor)

shortenField

public static String shortenField(String classname,
                                  Field field)

createAdvisorNodes

public TreeNode[] createAdvisorNodes(org.jboss.aop.ClassAdvisor advisor)
                              throws Exception
Throws:
Exception

createConstructorMethodCallers

public TreeNode[] createConstructorMethodCallers(int index,
                                                 org.jboss.aop.ClassAdvisor advisor,
                                                 HashMap called)
                                          throws Exception
Throws:
Exception

createConstructorConstructorCallers

public TreeNode[] createConstructorConstructorCallers(int index,
                                                      org.jboss.aop.ClassAdvisor advisor,
                                                      HashMap called)
                                               throws Exception
Throws:
Exception

createMethodMethodCallers

public TreeNode[] createMethodMethodCallers(long callingHash,
                                            org.jboss.aop.ClassAdvisor advisor,
                                            HashMap called)
                                     throws Exception
Throws:
Exception

createMethodConstructorCallers

public TreeNode[] createMethodConstructorCallers(long callingHash,
                                                 org.jboss.aop.ClassAdvisor advisor,
                                                 HashMap called)
                                          throws Exception
Throws:
Exception

getUnboundBindings

public TreeNode[] getUnboundBindings()
                              throws Exception
Throws:
Exception

getTreeForResource

protected TreeNode getTreeForResource(String profile,
                                      ManageableResource resource)
Specified by:
getTreeForResource in class AbstractPluginWrapper

outputChain

public static String outputChain(org.jboss.aop.advice.Interceptor[] chain)

init

public void init(javax.servlet.ServletConfig servletConfig)
          throws Exception
Specified by:
init in interface PluginWrapper
Overrides:
init in class AbstractPluginWrapper
Throws:
Exception

destroy

public void destroy()
Specified by:
destroy in interface PluginWrapper
Overrides:
destroy in class AbstractPluginWrapper


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.