Java Doc for MainDeployerMBean.java in  » EJB-Server-JBoss-4.2.1 » system » org » jboss » deployment » 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 » EJB Server JBoss 4.2.1 » system » org.jboss.deployment 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jboss.deployment.MainDeployerMBean

All known Subclasses:   org.jboss.deployment.MainDeployer,
MainDeployerMBean
public interface MainDeployerMBean extends ServiceMBean,DeployerMBean,MainDeployerConstants(Code)
MainDeployer MBean interface
version:
   $Revision: 57205 $


Field Summary
 ObjectNameOBJECT_NAME
    


Method Summary
 voidaddDeployer(SubDeployer deployer)
     The addDeployer method registers a deployer with the main deployer.
 voidcheckIncompleteDeployments()
     Check the current deployment states and generate an IncompleteDeploymentException if there are mbeans waiting for depedencies.
 voiddeploy(String urlspec)
     The deploy method deploys a package identified by a string representation of a URL.
 voiddeploy(URL url)
    
 voiddeploy(DeploymentInfo deployment)
     The deploy method deploys a package represented by a DeploymentInfo object.
 booleangetCopyFiles()
     Flag indicating whether directory content will be deployed. The default value is taken from the jboss.deploy.localcopy system property.
 DeploymentInfogetDeployment(URL url)
     The getDeployment method returns the DeploymentInfo object for the URL supplied.
 String[]getEnhancedSuffixOrder()
    
 String[]getSuffixOrder()
    
 FilegetTempDir()
    
 StringgetTempDirString()
    
 URLgetWatchUrl(URL url)
     The getWatchUrl method returns the URL that, when modified, indicates that a redeploy is needed.
 booleanisDeployed(String url)
     The isDeployed method tells you if a package identified by a string representation of a URL is currently deployed.
 booleanisDeployed(URL url)
     The isDeployed method tells you if a packaged identified by a URL is deployed.
 CollectionlistDeployed()
     The listDeployed method returns a collection of DeploymemtInfo objects for the currently deployed packages.
 StringlistDeployedAsString()
     Describe listDeployedAsString method here.
 CollectionlistDeployedModules()
     The listDeployedModules method returns a collection of SerializableDeploymentInfo objects for the currently deployed packages.
 CollectionlistDeployers()
     The listDeployers method returns a collection of ObjectNames of deployers registered with the MainDeployer.
 CollectionlistIncompletelyDeployed()
     The listIncompletelyDeployed method returns a list of packages that have not deployed completely.
 CollectionlistWaitingForDeployer()
     The listWaitingForDeployer method returns a collection of the packages that currently have no identified deployer.
 voidredeploy(String urlspec)
     Describe redeploy method here.
 voidredeploy(URL url)
     Describe redeploy method here.
 voidredeploy(DeploymentInfo sdi)
     Describe redeploy method here.
 voidremoveDeployer(SubDeployer deployer)
     The removeDeployer method unregisters a deployer with the MainDeployer.
 voidsetCopyFiles(boolean copyFiles)
    
 voidsetEnhancedSuffixOrder(String[] enhancedSuffixOrder)
    
 voidsetServiceController(ObjectName serviceController)
    
 voidsetTempDir(File tempDir)
    
 voidshutdown()
     The shutdown method undeploys all deployed packages in reverse order of their deployement.
public  voidstart(String urlspec)
    
public  voidstop(String urlspec)
    
 voidundeploy(URL url)
    
 voidundeploy(String urlspec)
     The undeploy method undeploys a package identified by a string representation of a URL.
 voidundeploy(DeploymentInfo di)
     The undeploy method undeploys a package represented by a DeploymentInfo object.

Field Detail
OBJECT_NAME
ObjectName OBJECT_NAME(Code)
The default ObjectName





Method Detail
addDeployer
void addDeployer(SubDeployer deployer)(Code)
The addDeployer method registers a deployer with the main deployer. Any waiting packages are tested to see if the new deployer will deploy them.
Parameters:
  deployer - a SubDeployer value



checkIncompleteDeployments
void checkIncompleteDeployments() throws DeploymentException(Code)
Check the current deployment states and generate an IncompleteDeploymentException if there are mbeans waiting for depedencies.
exception:
  IncompleteDeploymentException -



deploy
void deploy(String urlspec) throws DeploymentException, MalformedURLException(Code)
The deploy method deploys a package identified by a string representation of a URL.
Parameters:
  urlspec - a String value
exception:
  java.net.MalformedURLException - if an error occurs



deploy
void deploy(URL url) throws DeploymentException(Code)
The deploy method deploys a package identified by a URL
Parameters:
  url - an URL value



deploy
void deploy(DeploymentInfo deployment) throws DeploymentException(Code)
The deploy method deploys a package represented by a DeploymentInfo object.
Parameters:
  deployment - a DeploymentInfo value
exception:
  DeploymentException - if an error occurs



getCopyFiles
boolean getCopyFiles()(Code)
Flag indicating whether directory content will be deployed. The default value is taken from the jboss.deploy.localcopy system property.



getDeployment
DeploymentInfo getDeployment(URL url)(Code)
The getDeployment method returns the DeploymentInfo object for the URL supplied.
Parameters:
  url - an URL value a DeploymentInfo value



getEnhancedSuffixOrder
String[] getEnhancedSuffixOrder()(Code)
The enhanced suffix order



getSuffixOrder
String[] getSuffixOrder()(Code)
The ordering of the deployment suffixes



getTempDir
File getTempDir()(Code)
The path to the local tmp directory



getTempDirString
String getTempDirString()(Code)
The path to the local tmp directory in String form



getWatchUrl
URL getWatchUrl(URL url)(Code)
The getWatchUrl method returns the URL that, when modified, indicates that a redeploy is needed.
Parameters:
  url - an URL value a URL value



isDeployed
boolean isDeployed(String url) throws MalformedURLException(Code)
The isDeployed method tells you if a package identified by a string representation of a URL is currently deployed.
Parameters:
  url - a String value a boolean value
exception:
  java.net.MalformedURLException - if an error occurs



isDeployed
boolean isDeployed(URL url)(Code)
The isDeployed method tells you if a packaged identified by a URL is deployed.
Parameters:
  url - an URL value a boolean value



listDeployed
Collection listDeployed()(Code)
The listDeployed method returns a collection of DeploymemtInfo objects for the currently deployed packages. a Collection value



listDeployedAsString
String listDeployedAsString()(Code)
Describe listDeployedAsString method here. a String value



listDeployedModules
Collection listDeployedModules()(Code)
The listDeployedModules method returns a collection of SerializableDeploymentInfo objects for the currently deployed packages. a Collection value



listDeployers
Collection listDeployers()(Code)
The listDeployers method returns a collection of ObjectNames of deployers registered with the MainDeployer. a Collection value



listIncompletelyDeployed
Collection listIncompletelyDeployed()(Code)
The listIncompletelyDeployed method returns a list of packages that have not deployed completely. The toString method will include any exception in the status field. a Collection value



listWaitingForDeployer
Collection listWaitingForDeployer()(Code)
The listWaitingForDeployer method returns a collection of the packages that currently have no identified deployer. a Collection value



redeploy
void redeploy(String urlspec) throws DeploymentException, MalformedURLException(Code)
Describe redeploy method here.
Parameters:
  urlspec - a String value
exception:
  DeploymentException - if an error occurs
exception:
  java.net.MalformedURLException - if an error occurs



redeploy
void redeploy(URL url) throws DeploymentException(Code)
Describe redeploy method here.
Parameters:
  url - an URL value
exception:
  DeploymentException - if an error occurs



redeploy
void redeploy(DeploymentInfo sdi) throws DeploymentException(Code)
Describe redeploy method here.
Parameters:
  sdi - a DeploymentInfo value
exception:
  DeploymentException - if an error occurs



removeDeployer
void removeDeployer(SubDeployer deployer)(Code)
The removeDeployer method unregisters a deployer with the MainDeployer. Deployed packages deployed with this deployer are undeployed.
Parameters:
  deployer - a SubDeployer value



setCopyFiles
void setCopyFiles(boolean copyFiles)(Code)



setEnhancedSuffixOrder
void setEnhancedSuffixOrder(String[] enhancedSuffixOrder)(Code)



setServiceController
void setServiceController(ObjectName serviceController)(Code)
The ObjectName of the ServiceController



setTempDir
void setTempDir(File tempDir)(Code)



shutdown
void shutdown()(Code)
The shutdown method undeploys all deployed packages in reverse order of their deployement.



start
public void start(String urlspec) throws DeploymentException, MalformedURLException(Code)
The start method starts a package identified by a URL
Parameters:
  urlspec - an URL string value



stop
public void stop(String urlspec) throws DeploymentException, MalformedURLException(Code)
The stop method stop a package identified by a URL
Parameters:
  urlspec - an URL string value



undeploy
void undeploy(URL url) throws DeploymentException(Code)
The undeploy method undeploys a package identified by a URL
Parameters:
  url - an URL value



undeploy
void undeploy(String urlspec) throws DeploymentException, MalformedURLException(Code)
The undeploy method undeploys a package identified by a string representation of a URL.
Parameters:
  urlspec - a String value
exception:
  java.net.MalformedURLException - if an error occurs



undeploy
void undeploy(DeploymentInfo di)(Code)
The undeploy method undeploys a package represented by a DeploymentInfo object.
Parameters:
  di - a DeploymentInfo value



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