Java Doc for DeploymentManager.java in  » EJB-Server-JBoss-4.2.1 » j2ee » javax » enterprise » deploy » spi » 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 » j2ee » javax.enterprise.deploy.spi 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.enterprise.deploy.spi.DeploymentManager

DeploymentManager
public interface DeploymentManager (Code)
The DeploymentManager object provides the core set of functions a J2EE platform must provide for J2EE application deployment. It provides server related information, such as, a list of deployment targets, and vendor unique runtime configuration information.
author:
   Adrian Brock
version:
   $Revision: 57196 $




Method Summary
 DeploymentConfigurationcreateConfiguration(DeployableObject obj)
    
 ProgressObjectdistribute(Target[] targets, File moduleArchive, File deploymentPlan)
    
 ProgressObjectdistribute(Target[] targets, InputStream moduleArchive, InputStream deploymentPlan)
    
 TargetModuleID[]getAvailableModules(ModuleType moduleType, Target[] targets)
    
 LocalegetCurrentLocale()
    
 DConfigBeanVersionTypegetDConfigBeanVersion()
    
 LocalegetDefaultLocale()
    
 TargetModuleID[]getNonRunningModules(ModuleType moduleType, Target[] targets)
    
 TargetModuleID[]getRunningModules(ModuleType moduleType, Target[] targets)
    
 Locale[]getSupportedLocales()
    
 Target[]getTargets()
    
 booleanisDConfigBeanVersionSupported(DConfigBeanVersionType version)
    
 booleanisLocaleSupported(Locale locale)
    
 booleanisRedeploySupported()
    
 ProgressObjectredeploy(TargetModuleID[] moduleIDList, File moduleArchive, File deploymentPlan)
    
 ProgressObjectredeploy(TargetModuleID[] moduleIDList, InputStream moduleArchive, InputStream deploymentPlan)
    
 voidrelease()
    
 voidsetDConfigBeanVersion(DConfigBeanVersionType version)
    
 voidsetLocale(Locale locale)
    
 ProgressObjectstart(TargetModuleID[] moduleIDList)
    
 ProgressObjectstop(TargetModuleID[] moduleIDList)
    
 ProgressObjectundeploy(TargetModuleID[] moduleIDList)
    



Method Detail
createConfiguration
DeploymentConfiguration createConfiguration(DeployableObject obj) throws InvalidModuleException(Code)
Retrieve server specific configuration for a component
Parameters:
  obj - the deployable component the configuration
throws:
  InvalidModuleException - when the module does not exist or is not supported



distribute
ProgressObject distribute(Target[] targets, File moduleArchive, File deploymentPlan) throws IllegalStateException(Code)
Validates the configuration, generates all container specific classes and moves the archive to the targets
Parameters:
  targets - the targets
Parameters:
  moduleArchive - the module archive
Parameters:
  deploymentPlan - the runtime configuration the progress object
throws:
  IllegalStateException - when the manager is disconnected



distribute
ProgressObject distribute(Target[] targets, InputStream moduleArchive, InputStream deploymentPlan) throws IllegalStateException(Code)
Validates the configuration, generates all container specific classes and moves the archive to the targets
Parameters:
  targets - the targets
Parameters:
  moduleArchive - the module archive
Parameters:
  deploymentPlan - the runtime configuration the progress object
throws:
  IllegalStateException - when the manager is disconnected



getAvailableModules
TargetModuleID[] getAvailableModules(ModuleType moduleType, Target[] targets) throws TargetException, IllegalStateException(Code)
Get the available modules both running and non running
Parameters:
  moduleType - the module type
Parameters:
  targets - the targets the target modules
throws:
  TargetException - an invalid target
throws:
  IllegalStateException - when the manager is disconnected



getCurrentLocale
Locale getCurrentLocale()(Code)
Get the current local the current locale



getDConfigBeanVersion
DConfigBeanVersionType getDConfigBeanVersion()(Code)
Get the J2EE platform version the version



getDefaultLocale
Locale getDefaultLocale()(Code)
Get the default locale the default locale



getNonRunningModules
TargetModuleID[] getNonRunningModules(ModuleType moduleType, Target[] targets) throws TargetException, IllegalStateException(Code)
Get the non running modules
Parameters:
  moduleType - the module type
Parameters:
  targets - the targets the target modules
throws:
  TargetException - an invalid target
throws:
  IllegalStateException - when the manager is disconnected



getRunningModules
TargetModuleID[] getRunningModules(ModuleType moduleType, Target[] targets) throws TargetException, IllegalStateException(Code)
Get the running modules
Parameters:
  moduleType - the module type
Parameters:
  targets - the targets the target modules
throws:
  TargetException - an invalid target
throws:
  IllegalStateException - when the manager is disconnected



getSupportedLocales
Locale[] getSupportedLocales()(Code)
Get the supported locales the supported locales



getTargets
Target[] getTargets() throws IllegalStateException(Code)
Get the available targets the available targets
throws:
  IllegalStateException - when the manager is disconnected



isDConfigBeanVersionSupported
boolean isDConfigBeanVersionSupported(DConfigBeanVersionType version)(Code)
Test whether the version is supported
Parameters:
  version - the version true when supported, false otherwise



isLocaleSupported
boolean isLocaleSupported(Locale locale)(Code)
Is the locale supported
Parameters:
  locale - the locale true when supported, false otherwise



isRedeploySupported
boolean isRedeploySupported()(Code)
Is redeploy supported true when redeploy is supported, false otherwise



redeploy
ProgressObject redeploy(TargetModuleID[] moduleIDList, File moduleArchive, File deploymentPlan) throws UnsupportedOperationException, IllegalStateException(Code)
Redeploys the modules
Parameters:
  moduleIDList - the list of modules the progress object
throws:
  IllegalStateException - when the manager is disconnected
throws:
  UnsupportedOperationException - when redeploy is not supported



redeploy
ProgressObject redeploy(TargetModuleID[] moduleIDList, InputStream moduleArchive, InputStream deploymentPlan) throws UnsupportedOperationException, IllegalStateException(Code)
Redeploys the modules
Parameters:
  moduleIDList - the list of modules the progress object
throws:
  IllegalStateException - when the manager is disconnected
throws:
  UnsupportedOperationException - when redeploy is not supported



release
void release()(Code)
Release the deployment manager



setDConfigBeanVersion
void setDConfigBeanVersion(DConfigBeanVersionType version) throws DConfigBeanVersionUnsupportedException(Code)
Set the J2EE version
Parameters:
  version - the version
throws:
  UnsupportedOperationException - when the version is not supported



setLocale
void setLocale(Locale locale) throws UnsupportedOperationException(Code)
Set the locale
Parameters:
  locale - the new local
throws:
  UnsupportedOperationException - when the locale is not supported



start
ProgressObject start(TargetModuleID[] moduleIDList) throws IllegalStateException(Code)
Start the modules
Parameters:
  moduleIDList - the list of modules the progress object
throws:
  IllegalStateException - when the manager is disconnected



stop
ProgressObject stop(TargetModuleID[] moduleIDList) throws IllegalStateException(Code)
Stop the modules
Parameters:
  moduleIDList - the list of modules the progress object
throws:
  IllegalStateException - when the manager is disconnected



undeploy
ProgressObject undeploy(TargetModuleID[] moduleIDList) throws IllegalStateException(Code)
Removes the modules
Parameters:
  moduleIDList - the list of modules the progress object
throws:
  IllegalStateException - when the manager is disconnected



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