Java Doc for RuntimeManagementServiceImpl.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) 


java.lang.Object
   com.sun.esb.management.base.services.AbstractServiceImpl
      com.sun.esb.management.impl.runtime.RuntimeManagementServiceImpl

RuntimeManagementServiceImpl
public class RuntimeManagementServiceImpl extends AbstractServiceImpl implements Serializable,RuntimeManagementService(Code)
Defines client operations for common runtime management services for the clients. 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  RuntimeManagementServiceImpl()
    
public  RuntimeManagementServiceImpl(MBeanServerConnection serverConnection)
    
public  RuntimeManagementServiceImpl(MBeanServerConnection serverConnection, boolean isRemoteConnection)
    

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 asssembly 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 static  voidmain(String[] args)
    
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.
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, String>shutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String[] targetNames)
    
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
RuntimeManagementServiceImpl
public RuntimeManagementServiceImpl()(Code)
Constructor - Constructs a new instance of RuntimeManagementServiceImpl



RuntimeManagementServiceImpl
public RuntimeManagementServiceImpl(MBeanServerConnection serverConnection)(Code)
Constructor - Constructs a new instance of RuntimeManagementServiceImpl
Parameters:
  serverConnection -



RuntimeManagementServiceImpl
public RuntimeManagementServiceImpl(MBeanServerConnection serverConnection, boolean isRemoteConnection)(Code)
Constructor - Constructs a new instance of RuntimeManagementServiceImpl
Parameters:
  serverConnection -
Parameters:
  isRemoteConnection -




Method Detail
listBindingComponents
public String listBindingComponents(String targetName) throws ManagementRemoteException(Code)
return component info xml text that has only binding component infos. the component info xml text.
Parameters:
  targetName -
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. the component info xml text.
Parameters:
  targetNames -
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listBindingComponents(java.lang.String[])



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:
  targetNames - 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[])



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
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listServiceAssemblies(java.lang.String[])



listServiceAssemblies
public Map<String, String> listServiceAssemblies(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:
  componentName - to list all the service assemblies that have some deploymentson this component.
Parameters:
  targetNames - 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 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
throws:
  ManagementRemoteException - if error or exception occurs.
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listServiceAssemblies(java.lang.Stringjava.lang.Stringjava.lang.String[])



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:
  targetNames - the component info xml text.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listServiceEngines(java.lang.String[])



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:
  targetNames - 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[])



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:
  targetNames - the component info xml text.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.listSharedLibraries(java.lang.String[])



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:
  targetNames - 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[])



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:
  targetNames - 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[])



main
public static void main(String[] args)(Code)

Parameters:
  args -



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:
  targetNames - 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[])



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.
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[])



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 - 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.
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 - 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:
  targetNames - xml string contain service engine component info
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[])



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:
  targetNames - 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[])



shutdownComponent
public String shutdownComponent(String componentName, boolean force, String targetName) throws ManagementRemoteException(Code)
shuts down component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  force - true if component should be shutdown in any case, else false.
Parameters:
  targetName -
throws:
  ManagementRemoteException - on error name of the component
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)
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.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 -
throws:
  ManagementRemoteException - on error name of the component
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.shutdownComponent(java.lang.Stringjava.lang.String[])



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 if component should be shutdown in any case, else false.
Parameters:
  targetNames -
throws:
  ManagementRemoteException - on error name of the component
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.shutdownComponent(java.lang.Stringbooleanjava.lang.String[])



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 -
throws:
  ManagementRemoteException - on error result as a management message xml text
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
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.shutdownServiceAssembly(java.lang.Stringjava.lang.String[])



shutdownServiceAssembly
public Map<String, 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
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.shutdownServiceAssembly(java.lang.Stringbooleanjava.lang.String[])



startComponent
public String startComponent(String componentName, String targetName) throws ManagementRemoteException(Code)
starts component ( service engine, binding component)
Parameters:
  componentName - name of the component
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
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.startComponent(java.lang.Stringjava.lang.String[])



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



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 -
throws:
  ManagementRemoteException - on error name of the component
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 -
throws:
  ManagementRemoteException - on error name of the component
See Also:   com.sun.jbi.ui.common.JBIAdminCommands.stopComponent(java.lang.Stringjava.lang.String)
See Also:   com.sun.esb.management.api.runtime.RuntimeManagementService.stopComponent(java.lang.Stringjava.lang.String[])



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



Fields inherited from com.sun.esb.management.base.services.AbstractServiceImpl
protected static String CANNED_RESPONSE(Code)(Java Doc)
protected static I18NBundle I18NBUNDLE(Code)(Java Doc)
protected boolean isRemoteConnection(Code)(Java Doc)
protected transient MBeanServerConnection remoteConnection(Code)(Java Doc)

Methods inherited from com.sun.esb.management.base.services.AbstractServiceImpl
protected ObjectName getAdministrationServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected ObjectName getConfigurationServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected ObjectName getDeploymentServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected I18NBundle getI18NBundle()(Code)(Java Doc)
protected ObjectName getInstallationServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected MBeanServerConnection getMBeanServerConnection() throws IllegalStateException(Code)(Java Doc)
protected ObjectName getNotificationServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected ObjectName getPerformanceMeasurementServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected ObjectName getRuntimeManagementServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected Object invokeMBeanOperation(ObjectName objectName, String operationName, Object[] params, String[] signature) throws ManagementRemoteException(Code)(Java Doc)
protected Object invokeMBeanOperation(ObjectName objectName, String operationName, String param) throws ManagementRemoteException(Code)(Java Doc)
protected boolean isRegistered(ObjectName objectName)(Code)(Java Doc)
protected boolean isRemoteConnection()(Code)(Java Doc)
protected Map<String /*targetName*/, String[] listTargetNames() throws ManagementRemoteException(Code)(Java Doc)
protected Set<ObjectName> queryNames(String pattern, QueryExp query) throws ManagementRemoteException(Code)(Java Doc)

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.