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

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


com.sun.jbi.management.DeploymentServiceMBean

All known Subclasses:   com.sun.jbi.management.system.DeploymentService,
DeploymentServiceMBean
public interface DeploymentServiceMBean extends javax.jbi.management.DeploymentServiceMBean(Code)
This DeploymentServiceMBean extends the public interface. This has additional operations to :
  • Get the state of a particular service unit
  • Deploy a service assembly from the repository
  • allow forceful shutdown and undeploy of service assemblies

author:
   Sun Microsystems, Inc.




Method Summary
 StringdeployFromRepository(String serviceAssemblyName)
     Deploy a Service Assembly from the Repository.
public  StringgetServiceUnitDescriptor(String serviceAssemblyName, String serviceUnitName)
     Returns the deployment descriptor of the Service Unit that was deployed to the JBI enviroment, serialized to a String.
 StringgetServiceUnitState(String componentName, String serviceUnitName)
     Get the state of a service unit deployed to a component.
 StringshutDown(String serviceAssemblyName, boolean force)
     Shut down the service assembly.
 Stringundeploy(String serviceAssemblyName, boolean force)
     Undeploys the given Service Assembly from the JBI environment.
Parameters:
  serviceAssemblyName - name of the Service Assembly that is to be undeployed; must be non-null and non-empty
Parameters:
  force - if this flag is set to true any undeployment errors thrown from the component will be ignored as the service assembly is forcefullyundeployed.
 Stringundeploy(String serviceAssemblyName, boolean force, boolean keep)
     Undeploys the given Service Assembly from the JBI environment.
Parameters:
  serviceAssemblyName - name of the Service Assembly that is to be undeployed; must be non-null and non-empty
Parameters:
  force - if this flag is set to true any undeployment errors thrown from the component will be ignored as the service assembly is forcefullyundeployed.
Parameters:
  keep - if true the service assembly archive should not be removedfrom the domain.



Method Detail
deployFromRepository
String deployFromRepository(String serviceAssemblyName) throws javax.jbi.JBIException(Code)
Deploy a Service Assembly from the Repository.
If the service assembly is not there in the DAS repository a exception will be thrown.
Parameters:
  serviceAssemblyName - - name of the registered service assembly. a status management message with details on the service assembly deployment.
exception:
  javax.jbi.JBIException - if the service assembly is not registered ordeploy fails.



getServiceUnitDescriptor
public String getServiceUnitDescriptor(String serviceAssemblyName, String serviceUnitName) throws Exception(Code)
Returns the deployment descriptor of the Service Unit that was deployed to the JBI enviroment, serialized to a String.
Parameters:
  serviceAssemblyName - name of the service assembly to be queried;must be non-null and non-empty
Parameters:
  serviceUnitName - name of the service unit to be queried;must be non-null and non-empty descriptor of the Service Unit; must be non-null
exception:
  Exception - if a processing error occurs



getServiceUnitState
String getServiceUnitState(String componentName, String serviceUnitName) throws javax.jbi.JBIException(Code)
Get the state of a service unit deployed to a component.
If the service unit is deployed to the component then one of the states : "Started", "Stopped" or "Shutdown" is returned. the actual state of the deployed service unit or "Unknown".
Parameters:
  componentName - - the component name
Parameters:
  serviceUnitName - - name of the service unit
exception:
  javax.jbi.JBIException - if the component is not installed or if the service unit is not deployed to the component.
See Also:   javax.jbi.management.DeploymentServiceMBean



shutDown
String shutDown(String serviceAssemblyName, boolean force) throws Exception(Code)
Shut down the service assembly.
Parameters:
  serviceAssemblyName - name of the assembly to be shut down; must benon-null and non-empty
Parameters:
  force - if this flag is true, the service assembly is shutdown forcefully.Any exceptions thrown by the component for service unit shutdown are ignored. result / status string giving the results of shutting down each service unit in the assembly; must be non-null and non-empty
exception:
  Exception - if there is no such assembly
exception:
  Exception - if the assembly fails to shut down



undeploy
String undeploy(String serviceAssemblyName, boolean force) throws Exception(Code)
Undeploys the given Service Assembly from the JBI environment.
Parameters:
  serviceAssemblyName - name of the Service Assembly that is to be undeployed; must be non-null and non-empty
Parameters:
  force - if this flag is set to true any undeployment errors thrown from the component will be ignored as the service assembly is forcefullyundeployed. Result/Status of the current undeployment; must conform to JBI management result/status XML schema; must be non-null andnon-empty
exception:
  Exception - if compelete undeployment fails



undeploy
String undeploy(String serviceAssemblyName, boolean force, boolean keep) throws Exception(Code)
Undeploys the given Service Assembly from the JBI environment.
Parameters:
  serviceAssemblyName - name of the Service Assembly that is to be undeployed; must be non-null and non-empty
Parameters:
  force - if this flag is set to true any undeployment errors thrown from the component will be ignored as the service assembly is forcefullyundeployed.
Parameters:
  keep - if true the service assembly archive should not be removedfrom the domain. If false the archive is removed if the service assembly is not deployed on any instances. Result/Status of the current undeployment; must conform to JBI management result/status XML schema; must be non-null andnon-empty
exception:
  Exception - if compelete undeployment fails



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