Java Doc for ExpandDeployGenerator.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » server » deploy » 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 resin 3.1.5 » resin » com.caucho.server.deploy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.caucho.server.deploy.ExpandDeployGenerator

ExpandDeployGenerator
abstract public class ExpandDeployGenerator extends DeployGenerator implements AlarmListener(Code)
The generator for the deploy



Constructor Summary
public  ExpandDeployGenerator(DeployContainer<E> container, Path containerRootDirectory)
     Creates the deploy.

Method Summary
public  voidaddRequireFile(String file)
     Adds a required file in the expansion.
protected  StringarchiveNameToEntryName(String archiveName)
     Converts the entry name to the archive name, returns null if the entry name is not valid.
abstract protected  EcreateController(String name)
     Creates a new entry.
protected  StringentryNameToArchiveName(String entryName)
     Converts the archive name to the entry name, returns null if the archive name is not valid.
public  booleanequals(Object o)
     Tests for equality.
protected  voidfillDeployedKeys(Set<String> keys)
     Returns the deployed keys.
public  EgenerateController(String name)
     Finds the matching entry.
public  PathgetArchiveDirectory()
     Gets the war expand directory.
public  PathgetArchivePath(String name)
     Returns the location for deploying an archive with the specified name.
public  ThrowablegetConfigException(String name)
    
 PathgetContainerRootDirectory()
    
public  longgetDependencyCheckInterval()
    
public  PathgetExpandDirectory()
     Gets the war expand directory.
protected  StringgetExpandName(String name)
     Returns the combination of prefix, name, and suffix used for expanded archives.
public  PathgetExpandPath(String name)
     Returns the location of an expanded archive, or null if no archive with the passed name is deployed.
public  StringgetExpandPrefix()
     Gets the expand prefix.
public  StringgetExpandSuffix()
     Gets the expand suffix.
public  StringgetExtension()
     Returns the extension.
protected  LoggergetLog()
     Returns the log.
public  String[]getNames()
    
public  PathgetPath()
     Gets the default path.
public  ArrayList<String>getVersionNames(String name)
    
public  voidhandleAlarm(Alarm alarm)
     Checks for updates.
protected  voidinitImpl()
     Configuration checks on init.
protected  booleanisDeployedKey(String key)
     Return true for a matching key.
public  booleanisModified()
     Returns true if the deployment has modified.
protected  booleanisValidDirectory(Path rootDirectory, String pathName)
    
public  booleanisVersioning()
    
public  booleanlogModified(Logger log)
    
protected  StringpathNameToEntryName(String name)
     Converts the expand-path name to the entry name, returns null if the path name is not valid.
public  voidrequest()
     Redeploys if modified.
public  voidsetArchiveDirectory(Path path)
     Sets the war expand dir to check for new archive files.
public  voidsetDependencyCheckInterval(Period period)
     Sets the dependency check interval.
public  voidsetExpandCleanupFileset(FileSetType fileSet)
     Sets the expand remove file set.
public  voidsetExpandDirectory(Path path)
     Sets the war expand dir to check for new applications.
public  voidsetExpandPath(Path path)
     Sets the war expand dir to check for new applications.
public  voidsetExpandPrefix(String prefix)
     Sets the expand prefix to check for new applications.
public  voidsetExpandSuffix(String suffix)
     Sets the expand suffix to check for new applications.
public  voidsetExtension(String extension)
     Sets the extension.
public  voidsetPath(Path path)
     Sets the deploy directory.
public  voidsetVersioning(boolean isVersioning)
    
public  booleanstart(String name)
     Start the archive.
protected  voidstartImpl()
     Starts the deploy.
public  booleanstop(String name)
     Stop the archive.
protected  voidstopImpl()
     Stops the deploy.
public  StringtoString()
    
public  booleanundeploy(String name)
     Undeploy the archive.
public  voidupdate()
     Forces an update.


Constructor Detail
ExpandDeployGenerator
public ExpandDeployGenerator(DeployContainer<E> container, Path containerRootDirectory)(Code)
Creates the deploy.




Method Detail
addRequireFile
public void addRequireFile(String file) throws ConfigException(Code)
Adds a required file in the expansion.



archiveNameToEntryName
protected String archiveNameToEntryName(String archiveName)(Code)
Converts the entry name to the archive name, returns null if the entry name is not valid.



createController
abstract protected E createController(String name)(Code)
Creates a new entry.



entryNameToArchiveName
protected String entryNameToArchiveName(String entryName)(Code)
Converts the archive name to the entry name, returns null if the archive name is not valid.



equals
public boolean equals(Object o)(Code)
Tests for equality.



fillDeployedKeys
protected void fillDeployedKeys(Set<String> keys)(Code)
Returns the deployed keys.



generateController
public E generateController(String name)(Code)
Finds the matching entry.



getArchiveDirectory
public Path getArchiveDirectory()(Code)
Gets the war expand directory.



getArchivePath
public Path getArchivePath(String name)(Code)
Returns the location for deploying an archive with the specified name.
Parameters:
  name - a name, without an extension



getConfigException
public Throwable getConfigException(String name)(Code)
Returns an exception for the named archive or null if there is no exception



getContainerRootDirectory
Path getContainerRootDirectory()(Code)



getDependencyCheckInterval
public long getDependencyCheckInterval()(Code)



getExpandDirectory
public Path getExpandDirectory()(Code)
Gets the war expand directory.



getExpandName
protected String getExpandName(String name)(Code)
Returns the combination of prefix, name, and suffix used for expanded archives.



getExpandPath
public Path getExpandPath(String name)(Code)
Returns the location of an expanded archive, or null if no archive with the passed name is deployed.
Parameters:
  name - a name, without an extension



getExpandPrefix
public String getExpandPrefix()(Code)
Gets the expand prefix.



getExpandSuffix
public String getExpandSuffix()(Code)
Gets the expand suffix.



getExtension
public String getExtension()(Code)
Returns the extension.



getLog
protected Logger getLog()(Code)
Returns the log.



getNames
public String[] getNames()(Code)



getPath
public Path getPath()(Code)
Gets the default path.



getVersionNames
public ArrayList<String> getVersionNames(String name)(Code)



handleAlarm
public void handleAlarm(Alarm alarm)(Code)
Checks for updates.



initImpl
protected void initImpl() throws ConfigException(Code)
Configuration checks on init.



isDeployedKey
protected boolean isDeployedKey(String key)(Code)
Return true for a matching key.



isModified
public boolean isModified()(Code)
Returns true if the deployment has modified.



isValidDirectory
protected boolean isValidDirectory(Path rootDirectory, String pathName)(Code)



isVersioning
public boolean isVersioning()(Code)
Sets true to enable versioning



logModified
public boolean logModified(Logger log)(Code)
Log the reason for modification



pathNameToEntryName
protected String pathNameToEntryName(String name)(Code)
Converts the expand-path name to the entry name, returns null if the path name is not valid.



request
public void request()(Code)
Redeploys if modified.



setArchiveDirectory
public void setArchiveDirectory(Path path)(Code)
Sets the war expand dir to check for new archive files.



setDependencyCheckInterval
public void setDependencyCheckInterval(Period period)(Code)
Sets the dependency check interval.



setExpandCleanupFileset
public void setExpandCleanupFileset(FileSetType fileSet)(Code)
Sets the expand remove file set.



setExpandDirectory
public void setExpandDirectory(Path path)(Code)
Sets the war expand dir to check for new applications.



setExpandPath
public void setExpandPath(Path path)(Code)
Sets the war expand dir to check for new applications.



setExpandPrefix
public void setExpandPrefix(String prefix) throws ConfigException(Code)
Sets the expand prefix to check for new applications.



setExpandSuffix
public void setExpandSuffix(String suffix) throws ConfigException(Code)
Sets the expand suffix to check for new applications.



setExtension
public void setExtension(String extension) throws ConfigException(Code)
Sets the extension.



setPath
public void setPath(Path path)(Code)
Sets the deploy directory.



setVersioning
public void setVersioning(boolean isVersioning)(Code)
Sets true to enable versioning



start
public boolean start(String name)(Code)
Start the archive.



startImpl
protected void startImpl()(Code)
Starts the deploy.



stop
public boolean stop(String name)(Code)
Stop the archive.



stopImpl
protected void stopImpl()(Code)
Stops the deploy.



toString
public String toString()(Code)



undeploy
public boolean undeploy(String name)(Code)
Undeploy the archive.



update
public void update()(Code)
Forces an update.



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