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


com.sun.jbi.framework.DeployerMBean

All known Subclasses:   com.sun.jbi.framework.Deployer,
DeployerMBean
public interface DeployerMBean (Code)
This is the framework-provided version of the DeployerMBean for use with the ServiceUnitManager SPI of a component.
author:
   Sun Microsystems, Inc.




Method Summary
 Stringdeploy(String serviceUnitName, String serviceUnitRootPath)
     Deploy a Service Unit to the component.
 String[]getDeployments()
     Return a list of all Service Units currently deployed to the component.
 ServiceUnitStategetServiceUnitState(String serviceUnitName)
     Get the current state of a Service Unit.
Parameters:
  serviceUnitName - The unique name of the Service Unit.
 voidinit(String serviceUnitName, String serviceUnitRootPath)
     Initialize a Service Unit.
 booleanisDeployed(String serviceUnitName)
     Return a boolean value indicating whether the Service Unit is currently deployed.
Parameters:
  serviceUnitName - the name of the Service Unit.
 voidshutDown(String serviceUnitName)
     Shut down a Service Unit.
 voidshutDown(String serviceUnitName, boolean force)
     Shut down a Service Unit.
 voidstart(String serviceUnitName)
     Start a Service Unit.
 voidstop(String serviceUnitName)
     Stop a Service Unit.
 Stringundeploy(String serviceUnitName, String serviceAssemblyName)
     Undeploy a Service Unit from the component.
 Stringundeploy(String serviceUnitName, String serviceAssemblyName, boolean force)
     Undeploy a Service Unit from the component.



Method Detail
deploy
String deploy(String serviceUnitName, String serviceUnitRootPath) throws javax.jbi.management.DeploymentException(Code)
Deploy a Service Unit to the component. This is called to deploy the specified artifact to the component.
Parameters:
  serviceUnitName - the name of the Service Unit being deployed.
Parameters:
  serviceUnitRootPath - the full path to the Service Unit artifactroot directory.
throws:
  javax.jbi.management.DeploymentException - if the deploymentoperation is unsuccessful. a deployment status message.



getDeployments
String[] getDeployments()(Code)
Return a list of all Service Units currently deployed to the component. array of Service Unit name strings.



getServiceUnitState
ServiceUnitState getServiceUnitState(String serviceUnitName)(Code)
Get the current state of a Service Unit.
Parameters:
  serviceUnitName - The unique name of the Service Unit. The service unit state.



init
void init(String serviceUnitName, String serviceUnitRootPath) throws javax.jbi.management.DeploymentException(Code)
Initialize a Service Unit. This is the first phase of a two-phase start, where the component must prepare to receive service requests related to the Service Unit (if any).
Parameters:
  serviceUnitName - the name of the Service Unit being initialized.
Parameters:
  serviceUnitRootPath - the absolute path to the directory, whichhas the extracted service unit contents.
throws:
  javax.jbi.management.DeploymentException - if the Service Unit isnot deployed, or is in an incorrect state.



isDeployed
boolean isDeployed(String serviceUnitName)(Code)
Return a boolean value indicating whether the Service Unit is currently deployed.
Parameters:
  serviceUnitName - the name of the Service Unit. true if the Service Unit is deployed, false if not.



shutDown
void shutDown(String serviceUnitName) throws javax.jbi.management.DeploymentException(Code)
Shut down a Service Unit. This causes the Service Unit to return to the state it was in after deploy() and before init().
Parameters:
  serviceUnitName - the name of the Service Unit being shut down.
throws:
  javax.jbi.management.DeploymentException - if the Service Unitis not deployed, or is in an incorrect state.



shutDown
void shutDown(String serviceUnitName, boolean force) throws javax.jbi.management.DeploymentException(Code)
Shut down a Service Unit. This causes the Service Unit to return to the state it was in after deploy() and before init(). If the force option is set, then the operation proceeds regardless of of any errors in state or in the component's Service Unit Manager.
Parameters:
  serviceUnitName - the name of the Service Unit being shut down.
Parameters:
  force - when set to true, indicates a forced shutdown, whichcauses the shutdown to be completed regardless of any errors whichmay occur in the component's Service Unit Manager.
throws:
  javax.jbi.management.DeploymentException - if the Service Unitis not deployed, or is in an incorrect state.



start
void start(String serviceUnitName) throws javax.jbi.management.DeploymentException(Code)
Start a Service Unit. This is the second phase of a two-phase start, where the component can now initiate service requests related to the Service Unit.
Parameters:
  serviceUnitName - the name of the Service Unit being started.
throws:
  javax.jbi.management.DeploymentException - if the Service Unitis not deployed, or is in an incorrect state.



stop
void stop(String serviceUnitName) throws javax.jbi.management.DeploymentException(Code)
Stop a Service Unit. This causes the component to cease generating service requests related to the Service Unit. This returns the Service Unit to a state equivalent to after init() was called.
Parameters:
  serviceUnitName - the name of the Service Unit being stopped.
throws:
  javax.jbi.management.DeploymentException - if the Service Unitis not deployed, or is in an incorrect state.



undeploy
String undeploy(String serviceUnitName, String serviceAssemblyName) throws javax.jbi.management.DeploymentException(Code)
Undeploy a Service Unit from the component. The Service Unit must be shut down before it can be undeployed.
Parameters:
  serviceUnitName - the name of the Service Unit being undeployed.
Parameters:
  serviceAssemblyName - the name of the parent Service Assembly of the Service Unit.
throws:
  javax.jbi.management.DeploymentException - if the undeployoperation is unsuccessful. A status message.



undeploy
String undeploy(String serviceUnitName, String serviceAssemblyName, boolean force) throws javax.jbi.management.DeploymentException(Code)
Undeploy a Service Unit from the component. The Service Unit must be shut down before it can be undeployed, unless the force options is set, in which case all state checks are skipped.
Parameters:
  serviceUnitName - the name of the Service Unit being undeployed.
Parameters:
  serviceAssemblyName - the name of the parent Service Assembly of the Service Unit.
Parameters:
  force - when set to true, indicates a forced undeploy, whichcauses undeployment to be completed regardless of any errors whichmay occur in the component's Service Unit Manager.
throws:
  javax.jbi.management.DeploymentException - if the undeployoperation is unsuccessful. A status message.



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