Java Doc for RuntimeManagementServiceMBeanImpl.java in  » ESB » open-esb » com » sun » esb » management » impl » runtime » 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.esb.management.impl.runtime 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.esb.management.base.services.AbstractListStateServiceMBeansImpl
   com.sun.esb.management.impl.runtime.RuntimeManagementServiceMBeanImpl

RuntimeManagementServiceMBeanImpl
public class RuntimeManagementServiceMBeanImpl extends AbstractListStateServiceMBeansImpl implements RuntimeManagementService,Serializable(Code)
Defines operations for common runtime management services. Common runtime management operations include listing component containers available in the runtime, composite applications deployed, controlling lifecycle across the runtime and composite applications, getting state of each container and composite application, etc.
author:
   graj


Field Summary
final static  longserialVersionUID
    

Constructor Summary
public  RuntimeManagementServiceMBeanImpl(EnvironmentContext anEnvContext)
    

Method Summary
public  StringlistBindingComponents(String targetName)
     return component info xml text that has only binding component infos.
public  StringlistBindingComponents(String state, String sharedLibraryName, String serviceAssemblyName, String targetName)
     return component info xml text that has only binding component infos which satisfies the options passed to the method.
Parameters:
  state - return all the binding components that are in the specifiedstate.
public  Map<String, String>listBindingComponents(String[] targetNames)
     return component info xml text that has only binding component infos.
public  Map<String, String>listBindingComponents(String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames)
     return component info xml text that has only binding component infos which satisfies the options passed to the method.
Parameters:
  state - return all the binding components that are in the specifiedstate.
public  StringlistServiceAssemblies(String targetName)
     returns a list of Service Assembly Infos in a xml format.
public  StringlistServiceAssemblies(String componentName, String targetName)
     returns the list of service asssembly infos in a xml format that have the service unit deployed on the specified component.
public  StringlistServiceAssemblies(String state, String componentName, String targetName)
     returns the list of service asssembly infos in a xml format that have the service unit deployed on the specified component.
Parameters:
  state - to return all the service assemblies that are in the specifiedstate.
public  Map<String, String>listServiceAssemblies(String[] targetNames)
     returns a list of Service Assembly Infos in a xml format.
public  Map<String, String>listServiceAssemblies(String componentName, String[] targetNames)
     returns the list of service assembly infos in a xml format that have the service unit deployed on the specified component.
public  Map<String, String>listServiceAssemblies(String state, String componentName, String[] targetNames)
     returns the list of service asssembly infos in a xml format that have the service unit deployed on the specified component.
Parameters:
  state - to return all the service assemblies that are in the specifiedstate.
public  StringlistServiceEngines(String targetName)
     return component info xml text that has only service engine infos.
public  StringlistServiceEngines(String state, String sharedLibraryName, String serviceAssemblyName, String targetName)
     return component info xml text that has only service engine infos which satisfies the options passed to the method.
Parameters:
  state - return all the service engines that are in the specifiedstate.
public  Map<String, String>listServiceEngines(String[] targetNames)
     return component info xml text that has only service engine infos.
public  Map<String, String>listServiceEngines(String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames)
     return component info xml text that has only service engine infos which satisfies the options passed to the method.
Parameters:
  state - return all the service engines that are in the specifiedstate.
public  StringlistSharedLibraries(String targetName)
     return component info xml text that has only shared library infos.
public  StringlistSharedLibraries(String componentName, String targetName)
     returns the list of Shared Library infos in the in a xml format
Parameters:
  componentName - to return only the shared libraries that are this componentdependents.
public  Map<String, String>listSharedLibraries(String[] targetNames)
     return component info xml text that has only shared library infos.
public  Map<String, String>listSharedLibraries(String componentName, String[] targetNames)
     returns the list of Shared Library infos in the in a xml format
Parameters:
  componentName - to return only the shared libraries that are this componentdependents.
public  StringlistSharedLibraryDependents(String sharedLibraryName, String targetName)
    
public  Map<String, String>listSharedLibraryDependents(String sharedLibraryName, String[] targetNames)
    
public  StringshowBindingComponent(String name, String state, String sharedLibraryName, String serviceAssemblyName, String targetName)
     return component info xml text for the specified binding component if exists.
public  Map<String, String>showBindingComponent(String name, String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames)
     return component info xml text for the specified binding component if exists.
protected  StringshowComponent(String name, ComponentType type, String state, String sharedLibraryName, String serviceAssemblyName, String targetName)
     return component info xml text for the specified service engine if exists.
public  StringshowServiceAssembly(String name, String state, String componentName, String targetName)
     return service assembly info xml text for the specified service assembly if exists.
public  Map<String, String>showServiceAssembly(String name, String state, String componentName, String[] targetNames)
     return service assembly info xml text for the specified service assembly if exists.
public  StringshowServiceEngine(String name, String state, String sharedLibraryName, String serviceAssemblyName, String targetName)
     return component info xml text for the specified service engine if exists.
public  Map<String, String>showServiceEngine(String name, String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames)
     return component info xml text for the specified service engine if exists.
public  StringshowSharedLibrary(String name, String componentName, String targetName)
     return component info xml text for the specified shared library if exists.
public  Map<String, String>showSharedLibrary(String name, String componentName, String[] targetNames)
     return component info xml text for the specified shared library if exists.
public  StringshutdownComponent(String componentName, boolean force, String targetName)
    
public  StringshutdownComponent(String componentName, String targetName)
    
public  Map<String, String>shutdownComponent(String componentName, String[] targetNames)
    
public  Map<String, String>shutdownComponent(String componentName, boolean force, String[] targetNames)
    
public  StringshutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String targetName)
    
public  StringshutdownServiceAssembly(String serviceAssemblyName, String targetName)
    
public  Map<String, String>shutdownServiceAssembly(String serviceAssemblyName, String[] targetNames)
    
public  Map<String /* targetName */, StringshutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String[] targetNames)
    
protected  StringshutdownServiceAssemblyInternal(String serviceAssemblyName, boolean force, String targetName)
    
public  StringstartComponent(String componentName, String targetName)
    
public  Map<String, String>startComponent(String componentName, String[] targetNames)
    
public  StringstartServiceAssembly(String serviceAssemblyName, String targetName)
    
public  Map<String, String>startServiceAssembly(String serviceAssemblyName, String[] targetNames)
    
public  StringstopComponent(String componentName, String targetName)
    
public  Map<String, String>stopComponent(String componentName, String[] targetNames)
    
public  StringstopServiceAssembly(String serviceAssemblyName, String targetName)
    
public  Map<String, String>stopServiceAssembly(String serviceAssemblyName, String[] targetNames)
    

Field Detail
serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
RuntimeManagementServiceMBeanImpl
public RuntimeManagementServiceMBeanImpl(EnvironmentContext anEnvContext)(Code)
Constructor - Constructs a new instance of RuntimeManagementServiceMBeanImpl
Parameters:
  anEnvContext -




Method Detail
listBindingComponents
public String listBindingComponents(String targetName) throws ManagementRemoteException(Code)
return component info xml text that has only binding component infos.
Parameters:
  targetName - the component info xml text.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listBindingComponents(java.lang.String)



listBindingComponents
public String listBindingComponents(String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code)
return component info xml text that has only binding component infos which satisfies the options passed to the method.
Parameters:
  state - return all the binding components that are in the specifiedstate. valid states are JBIComponentInfo.STARTED, STOPPED,INSTALLED or null for ANY state
Parameters:
  sharedLibraryName - return all the binding components that have a dependency onthe specified shared library. null value to ignore thisoption.
Parameters:
  serviceAssemblyName - return all the binding components that have the specifiedservice assembly deployed on them. null value to ignore thisoption.
Parameters:
  targetName - xml text contain the list of binding component infos
throws:
  ManagementRemoteException - if error or exception occurs.
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listBindingComponents(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



listBindingComponents
public Map<String, String> listBindingComponents(String[] targetNames) throws ManagementRemoteException(Code)
return component info xml text that has only binding component infos.
Parameters:
  targetNames - the component info xml text as a Map of [targetName, xmlString].
throws:
  ManagementRemoteException - on error



listBindingComponents
public Map<String, String> listBindingComponents(String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException(Code)
return component info xml text that has only binding component infos which satisfies the options passed to the method.
Parameters:
  state - return all the binding components that are in the specifiedstate. valid states are JBIComponentInfo.STARTED, STOPPED,INSTALLED or null for ANY state
Parameters:
  sharedLibraryName - return all the binding components that have a dependency onthe specified shared library. null value to ignore thisoption.
Parameters:
  serviceAssemblyName - return all the binding components that have the specifiedservice assembly deployed on them. null value to ignore thisoption.
Parameters:
  targetName - xml text contain the list of binding component infos as map of[targetName, xmlString]
throws:
  ManagementRemoteException - if error or exception occurs.



listServiceAssemblies
public String listServiceAssemblies(String targetName) throws ManagementRemoteException(Code)
returns a list of Service Assembly Infos in a xml format.
Parameters:
  targetName - xml text containing the Service Assembly infos
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listServiceAssemblies(java.lang.String)



listServiceAssemblies
public String listServiceAssemblies(String componentName, String targetName) throws ManagementRemoteException(Code)
returns the list of service asssembly infos in a xml format that have the service unit deployed on the specified component.
Parameters:
  componentName - to list all the service assemblies that have some deploymentson this component.
Parameters:
  targetName - xml string contain the list of service assembly infos
throws:
  ManagementRemoteException - if error or exception occurs.
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listServiceAssemblies(java.lang.Stringjava.lang.String)



listServiceAssemblies
public String listServiceAssemblies(String state, String componentName, String targetName) throws ManagementRemoteException(Code)
returns the list of service asssembly infos in a xml format that have the service unit deployed on the specified component.
Parameters:
  state - to return all the service assemblies that are in the specifiedstate. JBIServiceAssemblyInfo.STARTED, STOPPED, SHUTDOWN ornull for ANY state
Parameters:
  componentName - to list all the service assemblies that have some deploymentson this component.
Parameters:
  targetName - xml string contain the list of service assembly infos
throws:
  ManagementRemoteException - if error or exception occurs.
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listServiceAssemblies(java.lang.Stringjava.lang.Stringjava.lang.String)



listServiceAssemblies
public Map<String, String> listServiceAssemblies(String[] targetNames) throws ManagementRemoteException(Code)
returns a list of Service Assembly Infos in a xml format.
Parameters:
  targetNames - xml text containing the Service Assembly infos as map of[targetName, xmlString]
throws:
  ManagementRemoteException - on error



listServiceAssemblies
public Map<String, String> listServiceAssemblies(String componentName, String[] targetNames) throws ManagementRemoteException(Code)
returns the list of service assembly infos in a xml format that have the service unit deployed on the specified component.
Parameters:
  componentName - to list all the service assemblies that have some deploymentson this component.
Parameters:
  targetNames - xml string contain the list of service assembly infos as map of[targetName, xmlString]
throws:
  ManagementRemoteException - if error or exception occurs.



listServiceAssemblies
public Map<String, String> listServiceAssemblies(String state, String componentName, String[] targetNames) throws ManagementRemoteException(Code)
returns the list of service asssembly infos in a xml format that have the service unit deployed on the specified component.
Parameters:
  state - to return all the service assemblies that are in the specifiedstate. JBIServiceAssemblyInfo.STARTED, STOPPED, SHUTDOWN ornull for ANY state
Parameters:
  componentName - to list all the service assemblies that have some deploymentson this component.
Parameters:
  targetNames - xml string contain the list of service assembly infos as map of[targetName, xmlString]
throws:
  ManagementRemoteException - if error or exception occurs.



listServiceEngines
public String listServiceEngines(String targetName) throws ManagementRemoteException(Code)
return component info xml text that has only service engine infos.
Parameters:
  targetName - the component info xml text.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listServiceEngines(java.lang.String)



listServiceEngines
public String listServiceEngines(String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code)
return component info xml text that has only service engine infos which satisfies the options passed to the method.
Parameters:
  state - return all the service engines that are in the specifiedstate. valid states are JBIComponentInfo.STARTED, STOPPED,INSTALLED or null for ANY state
Parameters:
  sharedLibraryName - return all the service engines that have a dependency on thespecified shared library. null value to ignore this option.
Parameters:
  serviceAssemblyName - return all the service engines that have the specified serviceassembly deployed on them. null value to ignore this option.
Parameters:
  targetName - xml text contain the list of service engine component infos
throws:
  ManagementRemoteException - if error or exception occurs.
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listServiceEngines(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



listServiceEngines
public Map<String, String> listServiceEngines(String[] targetNames) throws ManagementRemoteException(Code)
return component info xml text that has only service engine infos.
Parameters:
  targetName - the component info xml text as map of [targetName,xmlString].
throws:
  ManagementRemoteException - on error



listServiceEngines
public Map<String, String> listServiceEngines(String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException(Code)
return component info xml text that has only service engine infos which satisfies the options passed to the method.
Parameters:
  state - return all the service engines that are in the specifiedstate. valid states are JBIComponentInfo.STARTED, STOPPED,INSTALLED or null for ANY state
Parameters:
  sharedLibraryName - return all the service engines that have a dependency on thespecified shared library. null value to ignore this option.
Parameters:
  serviceAssemblyName - return all the service engines that have the specified serviceassembly deployed on them. null value to ignore this option.
Parameters:
  targetName - xml text contain the map of service engine component infos as[targetName, xmlString]
throws:
  ManagementRemoteException - if error or exception occurs.



listSharedLibraries
public String listSharedLibraries(String targetName) throws ManagementRemoteException(Code)
return component info xml text that has only shared library infos.
Parameters:
  targetName - the component info xml text.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listSharedLibraries(java.lang.String)



listSharedLibraries
public String listSharedLibraries(String componentName, String targetName) throws ManagementRemoteException(Code)
returns the list of Shared Library infos in the in a xml format
Parameters:
  componentName - to return only the shared libraries that are this componentdependents. null for listing all the shared libraries in thesystem.
Parameters:
  targetName - xml string contain the list of componentinfos for sharedlibraries.
throws:
  ManagementRemoteException - if error or exception occurs.
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listSharedLibraries(java.lang.Stringjava.lang.String)



listSharedLibraries
public Map<String, String> listSharedLibraries(String[] targetNames) throws ManagementRemoteException(Code)
return component info xml text that has only shared library infos.
Parameters:
  targetName - the component info xml text as a map of [targetName, xmlString].
throws:
  ManagementRemoteException - on error



listSharedLibraries
public Map<String, String> listSharedLibraries(String componentName, String[] targetNames) throws ManagementRemoteException(Code)
returns the list of Shared Library infos in the in a xml format
Parameters:
  componentName - to return only the shared libraries that are this componentdependents. null for listing all the shared libraries in thesystem.
Parameters:
  targetName - xml string contains the map of componentinfos for sharedlibraries as [targetName, xmlString].
throws:
  ManagementRemoteException - if error or exception occurs.



listSharedLibraryDependents
public String listSharedLibraryDependents(String sharedLibraryName, String targetName) throws ManagementRemoteException(Code)
returns a list of Binding Component and Service Engine infos in xml format, that are dependent upon a specified Shared Library
Parameters:
  sharedLibraryName - the shared library name
Parameters:
  targetName - xml string containing the list of componentInfos
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listSharedLibraryDependents(java.lang.Stringjava.lang.String)



listSharedLibraryDependents
public Map<String, String> listSharedLibraryDependents(String sharedLibraryName, String[] targetNames) throws ManagementRemoteException(Code)
returns a list of Binding Component and Service Engine infos in xml format, that are dependent upon a specified Shared Library
Parameters:
  sharedLibraryName - the shared library name
Parameters:
  targetName - xml string containing the map of componentInfos as [targetName,xmlString]
throws:
  ManagementRemoteException - on error



showBindingComponent
public String showBindingComponent(String name, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code)
return component info xml text for the specified binding component if exists. If no binding component with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the binding component to lookup
Parameters:
  state - return the binding component that is in the specified state.valid states are JBIComponentInfo.STARTED, STOPPED, INSTALLEDor null for ANY state
Parameters:
  sharedLibraryName - return the binding component that has a dependency on thespecified shared library. null value to ignore this option.
Parameters:
  serviceAssemblyName - return the binding component that has the specified serviceassembly deployed on it. null value to ignore this option.
Parameters:
  targetName - xml text contain the binding component info that confirms to thecomponent info list xml grammer.
throws:
  ManagementRemoteException - if error or exception occurs.
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.showBindingComponent(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



showBindingComponent
public Map<String, String> showBindingComponent(String name, String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException(Code)
return component info xml text for the specified binding component if exists. If no binding component with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the binding component to lookup
Parameters:
  state - return the binding component that is in the specified state.valid states are JBIComponentInfo.STARTED, STOPPED, INSTALLEDor null for ANY state
Parameters:
  sharedLibraryName - return the binding component that has a dependency on thespecified shared library. null value to ignore this option.
Parameters:
  serviceAssemblyName - return the binding component that has the specified serviceassembly deployed on it. null value to ignore this option.
Parameters:
  targetName - xml text contain the binding component info that confirms to thecomponent info list xml grammer as a map of [targetName,xmlString].
throws:
  ManagementRemoteException - if error or exception occurs.



showComponent
protected String showComponent(String name, ComponentType type, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code)
return component info xml text for the specified service engine if exists. If no service engine with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the service engine to lookup
Parameters:
  type - ENGINE or BINDING
Parameters:
  state - to return all the service engines that are in the specifiedstate. JBIComponentInfo.STARTED, STOPPED, INSTALLED or nullfor ANY state
Parameters:
  sharedLibraryName - to return all the service engines that have a dependency onthe specified shared library. Could be null for not filteringthe service engines for this dependency.
Parameters:
  serviceAssemblyName - to return all the service engines that have the specifiedservice assembly deployed on them. Could be null for notfiltering the service engines for this dependency.
Parameters:
  targetName - xml string contain service engine component info
throws:
  ManagementRemoteException - if error or exception occurs.



showServiceAssembly
public String showServiceAssembly(String name, String state, String componentName, String targetName) throws ManagementRemoteException(Code)
return service assembly info xml text for the specified service assembly if exists. If no service assembly with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the service assembly to lookup
Parameters:
  state - return the service assembly that is in the specified state.JBIServiceAssemblyInfo.STARTED, STOPPED, SHUTDOWN or null forANY state
Parameters:
  componentName - return the service assembly that has service units on thiscomponent.
Parameters:
  targetName - xml string contain service assembly info that confirms to theservice assembly list xml grammer.
throws:
  ManagementRemoteException - if error or exception occurs.
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.showServiceAssembly(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



showServiceAssembly
public Map<String, String> showServiceAssembly(String name, String state, String componentName, String[] targetNames) throws ManagementRemoteException(Code)
return service assembly info xml text for the specified service assembly if exists. If no service assembly with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the service assembly to lookup
Parameters:
  state - return the service assembly that is in the specified state.JBIServiceAssemblyInfo.STARTED, STOPPED, SHUTDOWN or null forANY state
Parameters:
  componentName - return the service assembly that has service units on thiscomponent.
Parameters:
  targetNames - xml string contain service assembly info that confirms to theservice assembly list xml grammer as [targetName, xmlString] map.
throws:
  ManagementRemoteException - if error or exception occurs.



showServiceEngine
public String showServiceEngine(String name, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code)
return component info xml text for the specified service engine if exists. If no service engine with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the service engine to lookup
Parameters:
  state - return service engine that is in the specified state. validstates are JBIComponentInfo.STARTED, STOPPED, INSTALLED ornull for ANY state
Parameters:
  sharedLibraryName - return service engine that has a dependency on the specifiedshared library. null value to ignore this option.
Parameters:
  serviceAssemblyName - return the service engine that has the specified serviceassembly deployed on it. null value to ignore this option.
Parameters:
  targetName - xml text contain the service engine component info that confirmsto the component info list xml grammer.
throws:
  ManagementRemoteException - if error or exception occurs.
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.showServiceEngine(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



showServiceEngine
public Map<String, String> showServiceEngine(String name, String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException(Code)
return component info xml text for the specified service engine if exists. If no service engine with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the service engine to lookup
Parameters:
  state - return service engine that is in the specified state. validstates are JBIComponentInfo.STARTED, STOPPED, INSTALLED ornull for ANY state
Parameters:
  sharedLibraryName - return service engine that has a dependency on the specifiedshared library. null value to ignore this option.
Parameters:
  serviceAssemblyName - return the service engine that has the specified serviceassembly deployed on it. null value to ignore this option.
Parameters:
  targetName - xml text contain the service engine component info that confirmsto the component info list xml grammer as a map of [targetName,xmlString].
throws:
  ManagementRemoteException - if error or exception occurs.



showSharedLibrary
public String showSharedLibrary(String name, String componentName, String targetName) throws ManagementRemoteException(Code)
return component info xml text for the specified shared library if exists. If no shared library with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the shared library to lookup
Parameters:
  componentName - return the shared library that is this component dependents.null to ignore this option.
Parameters:
  targetName - xml string contain shared library component info that confirms tothe component info list xml grammer.
throws:
  ManagementRemoteException - if error or exception occurs.
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.showSharedLibrary(java.lang.Stringjava.lang.Stringjava.lang.String)



showSharedLibrary
public Map<String, String> showSharedLibrary(String name, String componentName, String[] targetNames) throws ManagementRemoteException(Code)
return component info xml text for the specified shared library if exists. If no shared library with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the shared library to lookup
Parameters:
  componentName - return the shared library that is this component dependents.null to ignore this option.
Parameters:
  targetName - xml string contain shared library component info that confirms tothe component info list xml grammer as a map of [targetName,xmlString].
throws:
  ManagementRemoteException - if error or exception occurs.



shutdownComponent
public String shutdownComponent(String componentName, boolean force, String targetName) throws ManagementRemoteException(Code)
shuts down component ( service engine, binding component) name of the component
Parameters:
  force - true to force shutdown
Parameters:
  componentName - name of the component
Parameters:
  targetName -
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.shutdownComponent(java.lang.Stringbooleanjava.lang.String)



shutdownComponent
public String shutdownComponent(String componentName, String targetName) throws ManagementRemoteException(Code)
shuts down component ( service engine, binding component) name of the component
Parameters:
  componentName - name of the component
Parameters:
  targetName -
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.shutdownComponent(java.lang.Stringjava.lang.String)



shutdownComponent
public Map<String, String> shutdownComponent(String componentName, String[] targetNames) throws ManagementRemoteException(Code)
shuts down component (service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetNames - name of the component as [targetName, string] map
throws:
  ManagementRemoteException - on error



shutdownComponent
public Map<String, String> shutdownComponent(String componentName, boolean force, String[] targetNames) throws ManagementRemoteException(Code)
shuts down component (service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  force - true to force shutdown
Parameters:
  targetNames - name of the component as [targetName, string] map
throws:
  ManagementRemoteException - on error



shutdownServiceAssembly
public String shutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String targetName) throws ManagementRemoteException(Code)
shuts down service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  forceShutdown -
Parameters:
  targetName - name of the target for this operation Map of targetName and result as a management message xml textstrings.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.shutdownServiceAssembly(java.lang.Stringbooleanjava.lang.String)



shutdownServiceAssembly
public String shutdownServiceAssembly(String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code)
shuts down service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  targetName - result as a management message xml text
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.shutdownServiceAssembly(java.lang.Stringjava.lang.String)



shutdownServiceAssembly
public Map<String, String> shutdownServiceAssembly(String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException(Code)
shuts down service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  targetNames -
throws:
  ManagementRemoteException - on error result as a management message xml text as [targetName, string]map



shutdownServiceAssembly
public Map<String /* targetName */, String shutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String[] targetNames) throws ManagementRemoteException(Code)
shuts down service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  forceShutdown -
Parameters:
  targetName - name of the target for this operation Map of targetName and result as a management message xml textstrings.
throws:
  ManagementRemoteException - on error



shutdownServiceAssemblyInternal
protected String shutdownServiceAssemblyInternal(String serviceAssemblyName, boolean force, String targetName) throws ManagementRemoteException(Code)
shuts down service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  force -
Parameters:
  targetName - result as a management message xml text
throws:
  ManagementRemoteException - on error



startComponent
public String startComponent(String componentName, String targetName) throws ManagementRemoteException(Code)
starts component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetName -
throws:
  ManagementRemoteException - on error name of the component
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.startComponent(java.lang.Stringjava.lang.String)



startComponent
public Map<String, String> startComponent(String componentName, String[] targetNames) throws ManagementRemoteException(Code)
starts component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetNames -
throws:
  ManagementRemoteException - on error name of the component as [targetName, string] map



startServiceAssembly
public String startServiceAssembly(String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code)
starts service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  targetName - result as a management message xml text
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.startServiceAssembly(java.lang.Stringjava.lang.String)



startServiceAssembly
public Map<String, String> startServiceAssembly(String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException(Code)
starts service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  targetNames -
throws:
  ManagementRemoteException - on error result as a management message xml text as [targetName, string]map



stopComponent
public String stopComponent(String componentName, String targetName) throws ManagementRemoteException(Code)
stops component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetName - name of the component
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.stopComponent(java.lang.Stringjava.lang.String)



stopComponent
public Map<String, String> stopComponent(String componentName, String[] targetNames) throws ManagementRemoteException(Code)
stops component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetNames - name of the component as [targetName, string] map
throws:
  ManagementRemoteException - on error



stopServiceAssembly
public String stopServiceAssembly(String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code)
stops service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  targetName - result as a management message xml text
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.stopServiceAssembly(java.lang.Stringjava.lang.String)



stopServiceAssembly
public Map<String, String> stopServiceAssembly(String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException(Code)
stops service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  targetNames - result as a management message xml text as [targetName, string]map
throws:
  ManagementRemoteException - on error



Fields inherited from com.sun.esb.management.base.services.AbstractListStateServiceMBeansImpl
final protected static int ANY_FRAMEWORK_COMPONENT_STATE(Code)(Java Doc)
final protected static String FRAMEWORK_SA_ANY_STATE(Code)(Java Doc)
final protected static String FRAMEWORK_SA_SHUTDOWN_STATE(Code)(Java Doc)
final protected static String FRAMEWORK_SA_STARTED_STATE(Code)(Java Doc)
final protected static String FRAMEWORK_SA_STOPPED_STATE(Code)(Java Doc)
final protected static String FRAMEWORK_SU_SHUTDOWN_STATE(Code)(Java Doc)
final protected static String FRAMEWORK_SU_STARTED_STATE(Code)(Java Doc)
final protected static String FRAMEWORK_SU_STOPPED_STATE(Code)(Java Doc)
final protected static String FRAMEWORK_SU_UNKNOWN_STATE(Code)(Java Doc)

Methods inherited from com.sun.esb.management.base.services.AbstractListStateServiceMBeansImpl
protected void componentStartedOnTargetCheck(String componentName, String target) throws ManagementRemoteException(Code)(Java Doc)
protected ObjectName getComponentLifeCycleMBeanObjectName(String componentName, String targetName) throws ManagementRemoteException(Code)(Java Doc)
protected Collection getComponentNamesDependentOnServiceAssembly(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String saName, String targetName)(Code)(Java Doc)
protected Collection getComponentNamesDependentOnServiceAssembly(String saId, String targetName)(Code)(Java Doc)
protected Collection getComponentNamesDependentOnSharedLibrary(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String slibName, String targetName)(Code)(Java Doc)
protected Collection getComponentNamesDependentOnSharedLibrary(String slibName, String targetName)(Code)(Java Doc)
protected Collection getComponentNamesDependentOnSharedLibraryAndServiceAssembly(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String slibName, String saName, String targetName)(Code)(Java Doc)
protected Set getComponentNamesWithStatus(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String targetName)(Code)(Java Doc)
protected String getComponentState(String componentName, String targetName) throws ManagementRemoteException(Code)(Java Doc)
protected Map<String, Descriptor> getConfigurationDescriptors(ObjectName objectName) throws ManagementRemoteException(Code)(Java Doc)
protected List getFrameworkComponentInfoList(Collection compNameList, String targetName)(Code)(Java Doc)
protected List getFrameworkComponentInfoListForEnginesAndBindings(ComponentType frameworkCompType, ComponentState frameworkCompState, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code)(Java Doc)
protected List getFrameworkComponentInfoListForSharedLibraries(String componentName, String targetName) throws ManagementRemoteException(Code)(Java Doc)
protected List getFrameworkComponentInfoListForSharedLibraryNames(Collection slibNameList, String targetName)(Code)(Java Doc)
protected ComponentQuery getFrameworkComponentQuery(String targetName)(Code)(Java Doc)
protected List getServiceAssemblyInfoList(String frameworkState, String componentName, String targetName) throws ManagementRemoteException(Code)(Java Doc)
protected ObjectName[] getSystemLoggerMBeans(String instanceName)(Code)(Java Doc)
protected List getUiComponentInfoList(ComponentType frameworkCompType, String targetName) throws ManagementRemoteException(Code)(Java Doc)
protected boolean isExistingComponent(String componentName, String targetName)(Code)(Java Doc)
protected boolean isExistingSharedLibrary(String sharedLibraryName, String targetName)(Code)(Java Doc)
protected String listComponents(ComponentType type, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code)(Java Doc)
protected static ComponentState toFrameworkComponentInfoState(String uiCompState)(Code)(Java Doc)
protected static ComponentType toFrameworkComponentInfoType(String uiCompType)(Code)(Java Doc)
protected static String toFrameworkServiceAssemblyState(String uiState)(Code)(Java Doc)
protected JBIComponentInfo toUiComponentInfo(ComponentInfo frameworkCompInfo, String targetName) throws ManagementRemoteException(Code)(Java Doc)
protected List toUiComponentInfoList(List frameworkCompList, String targetName) throws ManagementRemoteException(Code)(Java Doc)
protected static String toUiComponentInfoState(ComponentState frameworkCompState)(Code)(Java Doc)
protected static String toUiComponentInfoType(ComponentType frameworkCompType)(Code)(Java Doc)
protected static String toUiServiceAssemblyState(String frameworkState)(Code)(Java Doc)
protected static String toUiServiceUnitState(String frameworkState)(Code)(Java Doc)
protected void updateEachServiceUnitInfoStateInServiceAssemblyInfo(ServiceAssemblyInfo saInfo, String targetName) throws ManagementRemoteException(Code)(Java Doc)
protected void updateServiceAssemblyInfoState(ServiceAssemblyInfo saInfo, String targetName) throws ManagementRemoteException(Code)(Java Doc)
protected void updateServiceUnitInfoState(ServiceUnitInfo suInfo, ObjectName deploymentServiceMBean)(Code)(Java Doc)
protected void validateUiJBIComponentInfoState(String state) throws ManagementRemoteException(Code)(Java Doc)
protected void validateUiServiceAssemblyInfoState(String state) throws ManagementRemoteException(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.