![]() |
A Plugin Type provides the ability to customize the ESB Console. This ability to customize areas of the Web UI is based on one or more of the following customization criteria:
In addition there are attributes that are required to be specified in the PluginType. They are:
Note that both tabsetReference and urlEntryPoint elements are mutually exclusive - you wont find one when you find the other.
<!-- Custom Plugin Type that customizes BPEL Service Engine tree nodes -->
<pluginType customPluginType='Management' entityType='service-engine' uiIntegrationType='tree-node'>
<parentId entityType='ServiceEngines'>Service Engines</parentId>
<displayName>sun-bpel-engine</displayName>
<urlEntryPoint isRelativeToContextRoot='false'>http://fully.Qualified.Domain.Host.Name:8080/bpel/welcomeGWT.html</urlEntryPoint>
<imageUrl>http://fully.Qualified.Domain.Host.Name:8080/bpel/org.glassfish.openesb.console.ui.Main/tree/ServiceEngine.png</imageUrl>
</pluginType>
<!-- Custom plugin for Manage Domains Tabs-->
<pluginType customPluginType='Manage Domains' entityType='domains' uiIntegrationType='tab'>
<imageUrl>/tree/sa.png</imageUrl>
<urlEntryPoint isRelativeToContextRoot='false'>uri://org.glassfish.openesb.client.ui.ManageDomains.class</urlEntryPoint>
</pluginType>
<!-- Custom plugin type that customize all concurrences BPEL Service Unit tree nodes -->
<pluginType customPluginType='Management' entityType='service-unit' uiIntegrationType='tree-node'>
<deployedOn>sun-bpel-engine</deployedOn>
<parentId entityType='service-assembly'/>
<imageUrl>tree/ServiceUnit.png</imageUrl>
<urlEntryPoint isRelativeToContextRoot='false'>uri://org.glassfish.openesb.console.ui.client.modules.statistics.StatisticsPanel.class</urlEntryPoint>
</pluginType>
<!-- Custom plugin for Service Assemblies Tree Node -->
<pluginType customPluginType='Management' entityType='ServiceAssemblies' uiIntegrationType='tree-node'>
<parentId entityType='JBI_META_CONTAINER'>JBI</parentId>
<displayName>Service Assemblies</displayName>
<imageUrl>tree/ServiceAssemblyBadge.png</imageUrl>
<tabsetReference name='Service Assemblies Tabset' />
</pluginType>
<!-- Service Assemblies Tabset -->
<tabsetType name='Service Assemblies Tabset' tabs='Manage Service Assemblies, Help' />
<!-- Tab Plugins for SERVICE_ASSEMBLIES -->
<pluginType customPluginType='Manage Service Assemblies' entityType='ServiceAssemblies' uiIntegrationType='tab'>
<imageUrl>/tree/sa.png</imageUrl>
<urlEntryPoint isRelativeToContextRoot='false'>uri://org.glassfish.openesb.client.ui.ManageServiceAssemblies.class
</urlEntryPoint>
</pluginType>
<!-- Tab Plugins for Help -->
<pluginType customPluginType='Help'
entityType='Domains, Domain, JBI_META_CONTAINER, ServiceEngines, service-engine, BindingComponents, binding-component, SharedLibraries, shared-library, ServiceAssemblies,service-assembly, service-unit'
uiIntegrationType='tab'>
<imageUrl>/tree/sa.png</imageUrl>
<urlEntryPoint isRelativeToContextRoot='false'>uri://org.glassfish.openesb.client.ui.Help.class
</urlEntryPoint>
</pluginType>
<?xml version='1.0' encoding='UTF-8'?>
<esb-console-plugin name='BPEL Plugin'
targetComponentName='sun-bpel-engine' version='1.0'
xmlns='http://java.sun.com/xml/ns/esb/console/PluginData'>
<!-- Manage BPEL Service Engine -->
<pluginType customPluginType='Management' entityType='service-engine' uiIntegrationType='tree-node'>
<parentId entityType='ServiceEngines'>Service Engines</parentId>
<displayName>sun-bpel-engine</displayName>
<urlEntryPoint isRelativeToContextRoot='false'>http://fully.Qualified.Domain.Host.Name:8080/bpel/welcomeGWT.html</urlEntryPoint>
<imageUrl>http://fully.Qualified.Domain.Host.Name:8080/bpel/org.glassfish.openesb.console.ui.Main/tree/ServiceEngine.png</imageUrl>
</pluginType>
<!-- Manage BPEL Service Units -->
<pluginType customPluginType='Management' entityType='service-unit' uiIntegrationType='tree-node'>
<deployedOn>sun-bpel-engine</deployedOn>
<parentId entityType='service-assembly'/>
<imageUrl>tree/ServiceUnit.png</imageUrl>
<urlEntryPoint isRelativeToContextRoot='false'>uri://org.glassfish.openesb.console.ui.client.modules.statistics.StatisticsPanel.class</urlEntryPoint>
</pluginType>
</esb-console-plugin>
Plugins can either be: