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

BasePluginWrapper.SimplePluginContext (JBoss Console API) - JBoss 4.0.1 sp1 console API Documentation 英文版文档


org.jboss.console.plugins.helpers
Class BasePluginWrapper.SimplePluginContext

java.lang.Object
  extended byorg.jboss.console.plugins.helpers.BasePluginWrapper.SimplePluginContext
All Implemented Interfaces:
PluginContext
Enclosing class:
BasePluginWrapper

public class BasePluginWrapper.SimplePluginContext
extends Object
implements PluginContext


Constructor Summary
BasePluginWrapper.SimplePluginContext()
           
 
Method Summary
 TreeNodeMenuEntry[] createMenus(String[] content)
           
 ResourceTreeNode createResourceNode(String name, String description, String iconUrl, String defaultUrl, TreeNodeMenuEntry[] menuEntries, TreeNode[] subNodes, ResourceTreeNode[] subResNodes, ManageableResource resource)
           
 ResourceTreeNode createResourceNode(String name, String description, String iconUrl, String defaultUrl, TreeNodeMenuEntry[] menuEntries, TreeNode[] subNodes, ResourceTreeNode[] subResNodes, String jmxObjectName, String jmxClassName)
           
 TreeNode createTreeNode(String name, String description, String iconUrl, String defaultUrl, TreeNodeMenuEntry[] menuEntries, TreeNode[] subNodes, ResourceTreeNode[] subResNodes)
           
 String encode(String source)
           
 javax.management.MBeanServer getLocalMBeanServer()
           
 org.jboss.logging.Logger getLogger()
           
 javax.management.ObjectInstance[] getMBeansForClass(String scope, String className)
           
 String localizeUrl(String source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasePluginWrapper.SimplePluginContext

public BasePluginWrapper.SimplePluginContext()
Method Detail

localizeUrl

public String localizeUrl(String source)
Specified by:
localizeUrl in interface PluginContext

getLocalMBeanServer

public javax.management.MBeanServer getLocalMBeanServer()
Specified by:
getLocalMBeanServer in interface PluginContext

getMBeansForClass

public javax.management.ObjectInstance[] getMBeansForClass(String scope,
                                                           String className)
Specified by:
getMBeansForClass in interface PluginContext

getLogger

public org.jboss.logging.Logger getLogger()
Specified by:
getLogger in interface PluginContext

createTreeNode

public TreeNode createTreeNode(String name,
                               String description,
                               String iconUrl,
                               String defaultUrl,
                               TreeNodeMenuEntry[] menuEntries,
                               TreeNode[] subNodes,
                               ResourceTreeNode[] subResNodes)
                        throws Exception
Specified by:
createTreeNode in interface PluginContext
Throws:
Exception

createResourceNode

public ResourceTreeNode createResourceNode(String name,
                                           String description,
                                           String iconUrl,
                                           String defaultUrl,
                                           TreeNodeMenuEntry[] menuEntries,
                                           TreeNode[] subNodes,
                                           ResourceTreeNode[] subResNodes,
                                           String jmxObjectName,
                                           String jmxClassName)
                                    throws Exception
Specified by:
createResourceNode in interface PluginContext
Throws:
Exception

createResourceNode

public ResourceTreeNode createResourceNode(String name,
                                           String description,
                                           String iconUrl,
                                           String defaultUrl,
                                           TreeNodeMenuEntry[] menuEntries,
                                           TreeNode[] subNodes,
                                           ResourceTreeNode[] subResNodes,
                                           ManageableResource resource)
                                    throws Exception
Specified by:
createResourceNode in interface PluginContext
Throws:
Exception

createMenus

public TreeNodeMenuEntry[] createMenus(String[] content)
                                throws Exception
Specified by:
createMenus in interface PluginContext
Throws:
Exception

encode

public String encode(String source)
Specified by:
encode in interface PluginContext


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