|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.archivist.ApplicationFactory
@Service public class ApplicationFactory
Factory for application object
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
logger
|
| Constructor Summary | |
|---|---|
ApplicationFactory()
|
|
| Method Summary | |
|---|---|
Application |
createApplicationFromStandardDD(ReadableArchive archive)
This method creates an Application object from reading the standard deployment descriptor. |
java.lang.String |
getApplicationName(java.io.File jarFile)
|
Application |
openArchive(Archivist archivist,
ReadableArchive in,
boolean handleRuntimeInfo)
Open a jar file and return an application object for the modules contained in the archive. |
Application |
openArchive(Archivist archivist,
java.net.URI jarFile,
boolean handleRuntimeInfo)
Open a jar file and return an application object for the modules contained in the archive/directory. |
Application |
openArchive(java.lang.String appName,
Archivist archivist,
ReadableArchive in,
boolean handleRuntimeInfo)
Open a jar file and return an application object for the modules contained in the archive. |
Application |
openArchive(java.net.URI jarFile)
Open a jar file and return an application object for the modules contained in the archive. |
Application |
openArchive(java.net.URI jarFile,
boolean handleRuntimeInfo)
Open a jar file with the default Archivists and return an application object for the modules contained in the archive. |
Application |
openWith(Application application,
ReadableArchive archive,
Archivist archivist)
This method populates the rest of the Application object from the previous standard deployment descriptor reading |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.logging.Logger logger
| Constructor Detail |
|---|
public ApplicationFactory()
| Method Detail |
|---|
public Application openArchive(java.net.URI jarFile)
throws java.io.IOException,
org.xml.sax.SAXParseException
jarFile - the archive file
java.io.IOException
org.xml.sax.SAXParseException
public Application openArchive(Archivist archivist,
java.net.URI jarFile,
boolean handleRuntimeInfo)
throws java.io.IOException,
org.xml.sax.SAXParseException
archivist - to use to open the archive filejarFile - the archive filehandleRuntimeInfo - set to true to read configuration deployment descriptors
java.io.IOException
org.xml.sax.SAXParseException
public Application openArchive(Archivist archivist,
ReadableArchive in,
boolean handleRuntimeInfo)
throws java.io.IOException,
org.xml.sax.SAXParseException
archivist - to use to open the archive filein - the archive abstractionhandleRuntimeInfo - true to read configuration deployment descriptors
java.io.IOException
org.xml.sax.SAXParseException
public Application openArchive(java.lang.String appName,
Archivist archivist,
ReadableArchive in,
boolean handleRuntimeInfo)
throws java.io.IOException,
org.xml.sax.SAXParseException
appName - the application moduleIDarchivist - to use to open the archive filein - the input archivehandleRuntimeInfo - set to true to read configuration deployment descriptors
java.io.IOException
org.xml.sax.SAXParseException
public Application createApplicationFromStandardDD(ReadableArchive archive)
throws java.io.IOException,
org.xml.sax.SAXParseException
archive - the archive for the application
java.io.IOException
org.xml.sax.SAXParseException
public Application openWith(Application application,
ReadableArchive archive,
Archivist archivist)
throws java.io.IOException,
org.xml.sax.SAXParseException
archive - the archive for the application
java.io.IOException
org.xml.sax.SAXParseException
public Application openArchive(java.net.URI jarFile,
boolean handleRuntimeInfo)
throws java.io.IOException,
org.xml.sax.SAXParseException
jarFile - the archive filehandleRuntimeInfo - set to true to read configuration deployment descriptors
java.io.IOException
org.xml.sax.SAXParseException
public java.lang.String getApplicationName(java.io.File jarFile)
throws java.io.IOException
jarFile - the .ear file
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||