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


com.sun.esb.management.base.services.BaseServiceImpl
   com.sun.esb.management.impl.installation.InstallationServiceImpl

InstallationServiceImpl
public class InstallationServiceImpl extends BaseServiceImpl implements Serializable,InstallationService(Code)
Defines client operations for common installation services for the client.
author:
   graj


Field Summary
final static  longserialVersionUID
    

Constructor Summary
public  InstallationServiceImpl()
    
public  InstallationServiceImpl(MBeanServerConnection serverConnection)
    
public  InstallationServiceImpl(MBeanServerConnection serverConnection, boolean isRemoteConnection)
    

Method Summary
public  StringinstallComponent(String zipFilePath, Properties paramProps, String targetName)
    
public  StringinstallComponent(String zipFilePath, String targetName)
    
public  Map<String, String>installComponent(String zipFilePath, Properties paramProps, String[] targetNames)
    
public  Map<String, String>installComponent(String zipFilePath, String[] targetNames)
    
public  StringinstallComponentFromDomain(String componentName, Properties properties, String targetName)
    
public  StringinstallComponentFromDomain(String componentName, String targetName)
    
public  Map<String, String>installComponentFromDomain(String componentName, String[] targetNames)
    
public  Map<String, String>installComponentFromDomain(String componentName, Properties properties, String[] targetNames)
    
public  StringinstallSharedLibrary(String zipFilePath, String targetName)
    
public  Map<String, String>installSharedLibrary(String zipFilePath, String[] targetNames)
    
public  StringinstallSharedLibraryFromDomain(String libraryName, String targetName)
    
public  Map<String, String>installSharedLibraryFromDomain(String libraryName, String[] targetNames)
    
public static  voidmain(String[] args)
    
public  StringuninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String targetName)
    
public  StringuninstallComponent(String componentName, boolean forceDelete, String targetName)
    
public  StringuninstallComponent(String componentName, String targetName)
    
public  Map<String, String>uninstallComponent(String componentName, String[] targetNames)
    
public  Map<String, String>uninstallComponent(String componentName, boolean forceDelete, String[] targetNames)
    
public  Map<String, String>uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String[] targetNames)
    
public  StringuninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String targetName)
    
public  StringuninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String targetName)
    
public  StringuninstallSharedLibrary(String sharedLibraryName, String targetName)
    
public  Map<String, String>uninstallSharedLibrary(String sharedLibraryName, String[] targetNames)
    
public  Map<String, String>uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String[] targetNames)
    
public  Map<String, String>uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String[] targetNames)
    
public  StringupgradeComponent(String componentName, String zipFilePath)
     upgrades component (service engine, binding component) Upgrades a component in a way that actually involves the component.

Field Detail
serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
InstallationServiceImpl
public InstallationServiceImpl()(Code)
Constructor - Constructs a new instance of InstallationServiceImpl



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



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




Method Detail
installComponent
public String installComponent(String zipFilePath, Properties paramProps, String targetName) throws ManagementRemoteException(Code)
installs component (service engine, binding component)
Parameters:
  paramProps - Properties object contains name/value pair.
Parameters:
  zipFilePath - archive file in a zip format
Parameters:
  targetName - name of the target for this operation The name of the component if successful
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.installComponent(java.lang.Stringjava.util.Propertiesjava.lang.String)



installComponent
public String installComponent(String zipFilePath, String targetName) throws ManagementRemoteException(Code)
installs component (service engine, binding component)
Parameters:
  zipFilePath - archive file in a zip format
Parameters:
  targetName - name of the target for this operation The name of the component if successful
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.installComponent(java.lang.Stringjava.lang.String)



installComponent
public Map<String, String> installComponent(String zipFilePath, Properties paramProps, String[] targetNames) throws ManagementRemoteException(Code)
installs component ( service engine, binding component)
Parameters:
  paramProps - Properties object contains name/value pair.
Parameters:
  zipFilePath - archive file in a zip format
Parameters:
  targetNames - name of the component as map of [targetName,string].
throws:
  ManagementRemoteException - on error *
See Also:   com.sun.esb.management.api.installation.InstallationService.installComponent(java.lang.Stringjava.util.Propertiesjava.lang.String[])



installComponent
public Map<String, String> installComponent(String zipFilePath, String[] targetNames) throws ManagementRemoteException(Code)
installs shared library
Parameters:
  zipFilePath - archive file in a zip format
Parameters:
  targetNames - shared library name as map of [targetName,string].
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.installComponent(java.lang.Stringjava.lang.String[])



installComponentFromDomain
public String installComponentFromDomain(String componentName, Properties properties, String targetName) throws ManagementRemoteException(Code)
installs component (service engine, binding component) from the domain target
Parameters:
  componentName - name of the component.
Parameters:
  component - configuration properties
Parameters:
  targetName - name of the target for this operation The name of the component if successful
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.installComponentFromDomain(java.lang.Stringjava.util.Propertiesjava.lang.String)



installComponentFromDomain
public String installComponentFromDomain(String componentName, String targetName) throws ManagementRemoteException(Code)
installs component (service engine, binding component) from the domain target
Parameters:
  componentName - name of the component.
Parameters:
  targetName - name of the target for this operation The name of the component if successful
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.installComponentFromDomain(java.lang.Stringjava.lang.String)



installComponentFromDomain
public Map<String, String> installComponentFromDomain(String componentName, String[] targetNames) throws ManagementRemoteException(Code)
installs component from Domain( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetNames - array of targets for this operation Map of targetName and component name strings.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.installComponentFromDomain(java.lang.Stringjava.lang.String[])



installComponentFromDomain
public Map<String, String> installComponentFromDomain(String componentName, Properties properties, String[] targetNames) throws ManagementRemoteException(Code)
installs component from Domain( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  properties - configuration properties
Parameters:
  targetNames - array of targets for this operation Map of targetName and component name strings.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.installComponentFromDomain(java.lang.Stringjava.util.Propertiesjava.lang.String[])



installSharedLibrary
public String installSharedLibrary(String zipFilePath, String targetName) throws ManagementRemoteException(Code)
installs shared library
Parameters:
  zipFilePath - archive file in a zip format
Parameters:
  targetName - name of the target for this operation shared library name string.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.installSharedLibrary(java.lang.Stringjava.lang.String)



installSharedLibrary
public Map<String, String> installSharedLibrary(String zipFilePath, String[] targetNames) throws ManagementRemoteException(Code)
installs shared library
Parameters:
  zipFilePath - archive file in a zip format
Parameters:
  targetNames - shared library name as map of [targetName,string].
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.installSharedLibrary(java.lang.Stringjava.lang.String[])



installSharedLibraryFromDomain
public String installSharedLibraryFromDomain(String libraryName, String targetName) throws ManagementRemoteException(Code)
installs shared library from domain target
Parameters:
  libraryName - Shared Library Name
Parameters:
  targetName - name of the target for this operation shared library name string.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.installSharedLibraryFromDomain(java.lang.Stringjava.lang.String)



installSharedLibraryFromDomain
public Map<String, String> installSharedLibraryFromDomain(String libraryName, String[] targetNames) throws ManagementRemoteException(Code)
installs shared library
Parameters:
  libraryName - name of the library
Parameters:
  targetName - name of the target for this operation Map of targetName and shared library name strings.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.installSharedLibraryFromDomain(java.lang.Stringjava.lang.String[])



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

Parameters:
  args -



uninstallComponent
public String uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String targetName) throws ManagementRemoteException(Code)
uninstalls component (service engine, binding component) with option to retain in domain target and option to forcibly remove from specified target
Parameters:
  componentName - name of the component
Parameters:
  forceDelete - true to delete, false to not
Parameters:
  retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target.
Parameters:
  targetName - name of the target for this operation The name of the component if successful
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.uninstallComponent(java.lang.Stringbooleanbooleanjava.lang.String)



uninstallComponent
public String uninstallComponent(String componentName, boolean forceDelete, String targetName) throws ManagementRemoteException(Code)
uninstalls component (service engine, binding component) with forcibly remove option
Parameters:
  componentName - name of the component
Parameters:
  forceDelete - true to delete, false to not
Parameters:
  targetName - name of the target for this operation The name of the component if successful
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.uninstallComponent(java.lang.Stringbooleanjava.lang.String)



uninstallComponent
public String uninstallComponent(String componentName, String targetName) throws ManagementRemoteException(Code)
uninstalls component (service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetName - name of the target for this operation The name of the component if successful
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.uninstallComponent(java.lang.Stringjava.lang.String)



uninstallComponent
public Map<String, String> uninstallComponent(String componentName, String[] targetNames) throws ManagementRemoteException(Code)
uninstalls 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
See Also:   com.sun.esb.management.api.installation.InstallationService.uninstallComponent(java.lang.Stringjava.lang.String[])



uninstallComponent
public Map<String, String> uninstallComponent(String componentName, boolean forceDelete, String[] targetNames) throws ManagementRemoteException(Code)
uninstalls component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  forceDelete - true to delete, false to not
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.uninstallComponent(java.lang.Stringbooleanjava.lang.String[])



uninstallComponent
public Map<String, String> uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String[] targetNames) throws ManagementRemoteException(Code)
uninstalls component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  forceDelete - true to delete, false to not
Parameters:
  retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target.
Parameters:
  targetNames - array of targets for this operation Map of targetName and component name strings.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.uninstallComponent(java.lang.Stringbooleanbooleanjava.lang.String[])



uninstallSharedLibrary
public String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String targetName) throws ManagementRemoteException(Code)
uninstalls shared library with option to retain in domain target and option to forcibly remove from specified target
Parameters:
  sharedLibraryName - name of the shared library
Parameters:
  forceDelete - true to delete, false to not
Parameters:
  retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target.
Parameters:
  targetName - name of the target for this operation shared library name string.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.uninstallSharedLibrary(java.lang.Stringbooleanbooleanjava.lang.String)



uninstallSharedLibrary
public String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String targetName) throws ManagementRemoteException(Code)
uninstalls shared library with option to forcibly remove
Parameters:
  sharedLibraryName - name of the shared library
Parameters:
  forceDelete - true to delete, false to not
Parameters:
  targetName - name of the target for this operation shared library name string.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.uninstallSharedLibrary(java.lang.Stringbooleanjava.lang.String)



uninstallSharedLibrary
public String uninstallSharedLibrary(String sharedLibraryName, String targetName) throws ManagementRemoteException(Code)
uninstalls shared library
Parameters:
  sharedLibraryName - name of the shared library
Parameters:
  targetName - name of the target for this operation shared library name string.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.uninstallSharedLibrary(java.lang.Stringjava.lang.String)



uninstallSharedLibrary
public Map<String, String> uninstallSharedLibrary(String sharedLibraryName, String[] targetNames) throws ManagementRemoteException(Code)
uninstalls shared library
Parameters:
  sharedLibraryName - name of the shared library
Parameters:
  targetNames - shared library name as [targetName, string] map.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.uninstallSharedLibrary(java.lang.Stringjava.lang.String[])



uninstallSharedLibrary
public Map<String, String> uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String[] targetNames) throws ManagementRemoteException(Code)
uninstalls shared library
Parameters:
  sharedLibraryName - name of the shared library
Parameters:
  forceDelete - true to delete, false to not
Parameters:
  targetNames - list of names of targets for this operation Map of targetName and shared library name strings.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.uninstallSharedLibrary(java.lang.Stringbooleanjava.lang.String[])



uninstallSharedLibrary
public Map<String, String> uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String[] targetNames) throws ManagementRemoteException(Code)
uninstalls shared library
Parameters:
  sharedLibraryName - name of the shared library
Parameters:
  forceDelete - true to delete, false to not
Parameters:
  retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target.
Parameters:
  targetNames - array of targets for this operation Map of targetName and shared library name strings.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.uninstallSharedLibrary(java.lang.Stringbooleanbooleanjava.lang.String[])



upgradeComponent
public String upgradeComponent(String componentName, String zipFilePath) throws ManagementRemoteException(Code)
upgrades component (service engine, binding component) Upgrades a component in a way that actually involves the component. During the upgrade processing, the component's implementation of the new upgrade SPI will be invoked to give the component the opportunity to perform any special processing necessary to complete the upgrade. Components which do not provide an implementation of the upgrade SPI can still be updated using the updateComponent API. Also, in the upgrade implementation, changes in the component's installation descriptor will be allowed, with the exception of the component name (for obvious reasons). This allows new shared library dependencies, changes to the class names of the component's SPI implementations, and changes to the component's class loading preferences (class path and class loading order). These changes are allowed regardless of whether or not the component provides an implementation of the new upgrade SPI.
Parameters:
  componentName - Name of the component to update.
Parameters:
  zipFilePath - archive file in a zip format The name of the component if successful
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.installation.InstallationService.upgradeComponent(java.lang.Stringjava.lang.String)



Fields inherited from com.sun.esb.management.base.services.BaseServiceImpl
protected Object mLastUploadId(Code)(Java Doc)

Methods inherited from com.sun.esb.management.base.services.BaseServiceImpl
public String downloadFile(String dir, String serverFilePath) throws ManagementRemoteException(Code)(Java Doc)
protected void removeUploadedFile()(Code)(Java Doc)
protected String uploadFile(String localFilePath) 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.