| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.project.ProjectConfigurator
ProjectConfigurator approach turned out to be not
             usable, and is in fact rarely used (if ever). It will be removed in
             subsequent releases.
public class ProjectConfigurator
Performs on the fly reconfiguration of Cayenne projects.
| Field Summary | |
|---|---|
| protected  ProjectConfigInfo | infoDeprecated. | 
| Constructor Summary | |
|---|---|
| ProjectConfigurator(ProjectConfigInfo info)Deprecated. | |
| Method Summary | |
|---|---|
| protected  void | cleanup(File dir)Deprecated. Deletes a temporary directories and files created. | 
|  void | execute()Deprecated. Performs reconfiguration of the project. | 
| protected  File | makeTempDestJar()Deprecated. Returns a temporary file for the destination jar. | 
| protected  File | makeTempDirectory()Deprecated. Creates a temporary directory to unjar the jar file. | 
| protected  void | reconfigureProject(File projectDir)Deprecated. Performs reconfiguration of the unjarred project. | 
| protected  void | validate()Deprecated. Validates consistency of the reconfiguration information. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected ProjectConfigInfo info
| Constructor Detail | 
|---|
public ProjectConfigurator(ProjectConfigInfo info)
| Method Detail | 
|---|
public void execute()
             throws ProjectException
ProjectException
protected void reconfigureProject(File projectDir)
                           throws ProjectException
projectDir - a directory where a working copy of the project is located.
ProjectException
protected File makeTempDestJar()
                        throws IOException
IOExceptionprotected void cleanup(File dir)
protected File makeTempDirectory()
                          throws IOException
IOException
protected void validate()
                 throws IOException,
                        ProjectException
IOException
ProjectException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||