Java Doc for MBeanNamesImpl.java in  » ESB » open-esb » com » sun » jbi » management » support » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ESB » open esb » com.sun.jbi.management.support 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jbi.management.support.MBeanNamesImpl

MBeanNamesImpl
public class MBeanNamesImpl implements com.sun.jbi.management.MBeanNames(Code)
Implementation of MBeanNames interface.
author:
   Sun Microsystems, Inc.


Field Summary
final public static  StringJBI_DOMAIN
    
final public static  StringSERVICE_NAME_KEY
    
final public static  StringSERVICE_TYPE_KEY
    

Constructor Summary
public  MBeanNamesImpl(String jmxDomain, String instanceName)
     Constructor.

Method Summary
public  ObjectNamecreateCustomComponentMBeanName(String customName)
     Formulate and return an MBean ObjectName for a custom control of this name creator's JBI component.

This is used by components to create JMX names for their own JMX controls, allowing the JBI implementation to prefix the created name to fit within the implementation's own naming scheme.

Standard extensions must use the following custom name constants:

public  ObjectNamegetBindingMBeanName(String bindingName, String controlType)
     Formulate and return the MBean ObjectName of a control MBean for a Binding Component.
Parameters:
  bindingName - the name of the Binding Component.
Parameters:
  controlType - the type of control (MBean type).
public  ObjectNamegetBindingMBeanName(String bindingName, ComponentServiceType serviceType, String target)
    
public  ObjectNamegetComponentExtensionFacadeMBeanName(String componentName, String target)
     Returns the ObjectName of the ComponentExtension facade MBean registered for the component.
public  ObjectNamegetComponentLoggerMBeanNameFilter(String instanceName, String componentName)
    
public  ObjectNamegetComponentMBeanName(String compName, ComponentType compType, ComponentServiceType serviceType, String target)
     Utility method to get a component's MBean name based on the component's type (binding or engine).
public  ObjectNamegetCustomBindingMBeanName(String customName, String bindingName)
     Formulate and return the MBean ObjectName of custom control MBean for a Binding Component.
Parameters:
  customName - the name of the custom control.
Parameters:
  bindingName - the name of the Binding Component.
public  ObjectNamegetCustomComponentMBeanNameFilter(String instanceName, String customName, String componentName)
    
public  ObjectNamegetCustomEngineMBeanName(String customName, String engineName)
     Formulate and return the MBean ObjectName of custom control MBean for a Service Engine.
Parameters:
  customName - the name of the custom control.
Parameters:
  engineName - the name of the Service Engine.
public  ObjectNamegetEngineMBeanName(String engineName, String controlType)
     Formulate and return the MBean ObjectName of a control MBean for a Service Engine.
Parameters:
  engineName - the name of the Service Engine.
Parameters:
  controlType - the type of control (MBean type).
public  ObjectNamegetEngineMBeanName(String engineName, ComponentServiceType serviceType, String target)
    
public  StringgetJbiInstanceName()
    
public  StringgetJmxDomainName()
     Retrieve the default JMX Domain Name for MBeans registered in this instance of the JBI implementation.
public  ObjectNamegetLocalSystemServiceMBeanName(String name, String type)
     Formulate and return the MBean ObjectName of a local JBI Framework system service.
public  ObjectNamegetSystemServiceLoggerMBeanName(String name, Logger logger)
     Formulate and return the LoggerMBean ObjectName of a JBI Framework system service.
Parameters:
  name - -the name of the system service.
Parameters:
  logger - -the Logger instance.
public  ObjectNamegetSystemServiceMBeanName(String serviceName, String type)
     Formulate and return the MBean ObjectName of control MBean for a JBI system service.
Parameters:
  serviceName - the name of the system service.
Parameters:
  type - the type of the MBean.
public  ObjectNamegetSystemServiceMBeanName(String serviceName, String type, String instanceName)
     Formulate and return the MBean ObjectName of control MBean for a JBI system service for the specified instance name.
Parameters:
  serviceName - the name of the system service.
Parameters:
  type - the type of the MBean.
Parameters:
  instanceName - the name of the server instance.
public  ObjectNamegetSystemServiceMBeanName(ServiceName serviceName, ServiceType serviceType, String target)
    

Field Detail
JBI_DOMAIN
final public static String JBI_DOMAIN(Code)



SERVICE_NAME_KEY
final public static String SERVICE_NAME_KEY(Code)



SERVICE_TYPE_KEY
final public static String SERVICE_TYPE_KEY(Code)




Constructor Detail
MBeanNamesImpl
public MBeanNamesImpl(String jmxDomain, String instanceName)(Code)
Constructor.
Parameters:
  jmxDomain - -JMX Domain Name.
Parameters:
  instanceName - -instance name of the runtime.




Method Detail
createCustomComponentMBeanName
public ObjectName createCustomComponentMBeanName(String customName)(Code)
Formulate and return an MBean ObjectName for a custom control of this name creator's JBI component.

This is used by components to create JMX names for their own JMX controls, allowing the JBI implementation to prefix the created name to fit within the implementation's own naming scheme.

Standard extensions must use the following custom name constants:

All other custom component MBeans must use custom names that do not collide with the standard extension names.
Parameters:
  customName - the name of the custom control; must be non-null andnon-empty; must be legal for use in a JMX object name the JMX ObjectName of the MBean, or null if thecustomName is invalid



getBindingMBeanName
public ObjectName getBindingMBeanName(String bindingName, String controlType)(Code)
Formulate and return the MBean ObjectName of a control MBean for a Binding Component.
Parameters:
  bindingName - the name of the Binding Component.
Parameters:
  controlType - the type of control (MBean type). the JMX ObjectName of the MBean, or null ifcontrolType is invalid.



getBindingMBeanName
public ObjectName getBindingMBeanName(String bindingName, ComponentServiceType serviceType, String target)(Code)
Returns object name of type a Binding Object Name: com.sun.jbi:Target={target}, ServiceType={serviceType}, ComponentName="bindingName"
Parameters:
  bindingName - -binding component name
Parameters:
  serviceType -
Parameters:
  target - -administration target the Object name of the facade AdminServiceMBean for the desiredtarget.



getComponentExtensionFacadeMBeanName
public ObjectName getComponentExtensionFacadeMBeanName(String componentName, String target)(Code)
Returns the ObjectName of the ComponentExtension facade MBean registered for the component.
Parameters:
  target - - target name
Parameters:
  componentName - - target component name the ObjectName of the component extension facade MBean.



getComponentLoggerMBeanNameFilter
public ObjectName getComponentLoggerMBeanNameFilter(String instanceName, String componentName)(Code)
Returns the ObjectName to be used to filter Logger MBeans registered for a component : com.sun.jbi:JbiName=instanceName,CustomControlName=logName,ComponentName=mComponentName,ControlType=Logger,*
Parameters:
  instanceName - - target instance name
Parameters:
  componentName - - target component name the ObjectName to be used to filter component registered custom MBeans



getComponentMBeanName
public ObjectName getComponentMBeanName(String compName, ComponentType compType, ComponentServiceType serviceType, String target)(Code)
Utility method to get a component's MBean name based on the component's type (binding or engine). This saves clients from coding the same conditional (e.g. if type == binding call getBindingMBeanName) over and over again.
Parameters:
  componentName - component name
Parameters:
  serviceType - type of MBean
Parameters:
  target - administration target ObjectName in the component's namespace for the given service



getCustomBindingMBeanName
public ObjectName getCustomBindingMBeanName(String customName, String bindingName)(Code)
Formulate and return the MBean ObjectName of custom control MBean for a Binding Component.
Parameters:
  customName - the name of the custom control.
Parameters:
  bindingName - the name of the Binding Component. the JMX ObjectName or null if illegal name.



getCustomComponentMBeanNameFilter
public ObjectName getCustomComponentMBeanNameFilter(String instanceName, String customName, String componentName)(Code)
Returns the ObjectName to be used to filter component registered custom MBeans : com.sun.jbi:JbiName={instanceName}, ControlType=Custom
Parameters:
  instanceName - - instance name
Parameters:
  customName - - custom control name
Parameters:
  componentName - - component name the custom component MBean ObjectName



getCustomEngineMBeanName
public ObjectName getCustomEngineMBeanName(String customName, String engineName)(Code)
Formulate and return the MBean ObjectName of custom control MBean for a Service Engine.
Parameters:
  customName - the name of the custom control.
Parameters:
  engineName - the name of the Service Engine. the JMX ObjectName or null if illegal name.



getEngineMBeanName
public ObjectName getEngineMBeanName(String engineName, String controlType)(Code)
Formulate and return the MBean ObjectName of a control MBean for a Service Engine.
Parameters:
  engineName - the name of the Service Engine.
Parameters:
  controlType - the type of control (MBean type). the JMX ObjectName of the MBean, or null ifcontrolType is invalid.



getEngineMBeanName
public ObjectName getEngineMBeanName(String engineName, ComponentServiceType serviceType, String target)(Code)
Returns object name of type a Engine Object Name: com.sun.jbi:Target={target}, ServiceType={serviceType}, ComponentName="engineName"
Parameters:
  engineName - -service engine name
Parameters:
  serviceType -
Parameters:
  target - -administration target the Object name of the facade AdminServiceMBean for the desiredtarget.



getJbiInstanceName
public String getJbiInstanceName()(Code)
Return the name of this JBI Framework runtime the instance name of this runtime.



getJmxDomainName
public String getJmxDomainName()(Code)
Retrieve the default JMX Domain Name for MBeans registered in this instance of the JBI implementation. the JMX domain name for this instance of the JBI implemention;must be non-null and non-empty



getLocalSystemServiceMBeanName
public ObjectName getLocalSystemServiceMBeanName(String name, String type)(Code)
Formulate and return the MBean ObjectName of a local JBI Framework system service. A local services does not include the jbi runtime instance name.
Parameters:
  name - -the name of the system service
Parameters:
  type - -the type of the MBean the JMX ObjectName of the service, or null if illegal name



getSystemServiceLoggerMBeanName
public ObjectName getSystemServiceLoggerMBeanName(String name, Logger logger)(Code)
Formulate and return the LoggerMBean ObjectName of a JBI Framework system service.
Parameters:
  name - -the name of the system service.
Parameters:
  logger - -the Logger instance. the JMX ObjectName of the service, or null if illegal name.



getSystemServiceMBeanName
public ObjectName getSystemServiceMBeanName(String serviceName, String type)(Code)
Formulate and return the MBean ObjectName of control MBean for a JBI system service.
Parameters:
  serviceName - the name of the system service.
Parameters:
  type - the type of the MBean. the JMX ObjectName of the specified MBean, or null if theserviceName or type is illegal.



getSystemServiceMBeanName
public ObjectName getSystemServiceMBeanName(String serviceName, String type, String instanceName)(Code)
Formulate and return the MBean ObjectName of control MBean for a JBI system service for the specified instance name.
Parameters:
  serviceName - the name of the system service.
Parameters:
  type - the type of the MBean.
Parameters:
  instanceName - the name of the server instance. the JMX ObjectName of the specified MBean, or null if theserviceName or type is illegal.



getSystemServiceMBeanName
public ObjectName getSystemServiceMBeanName(ServiceName serviceName, ServiceType serviceType, String target)(Code)
Returns object name of type a SystemService Object Name: com.sun.jbi:Target={target},ServiceName={serviceName},ServiceType={serviceType}
Parameters:
  serviceName - the system service name
Parameters:
  serviceType - the system service type
Parameters:
  target - -administration target the Object name of the facade AdminServiceMBean for the desiredtarget.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.