|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_lib.genbase.archive.J2EEArchive org.objectweb.jonas_lib.genbase.archive.Client
public class Client
Client represnets a J2EE Client Archive.
Constructor Summary | |
---|---|
Client(Archive archive)
Create a new Client not contained in Application |
|
Client(Archive archive,
Application app)
Create a new Client contained in Application |
Method Summary | |
---|---|
void |
addClasses(java.io.File classes)
add *.class from directory in the archive. |
void |
close()
Close this archive |
Application |
getApplication()
Returns the container application (can be null). |
java.util.Map |
getDescriptors()
Returns a Map of name to Document for each modified Descriptor of the archive. |
java.util.List |
getEjbRefDescs()
Returns the list of ejb-ref elements contained by a module. |
org.w3c.dom.Document |
getJonasClientDoc()
Returns the Document of the jonas-client.xml file. |
java.io.InputStream |
getJonasClientInputStream()
Returns the InputStream of the jonas-client.xml file. |
java.util.List |
getServiceRefDescs()
Returns the list of service-ref elements contained by a module. |
void |
initialize()
Initialize the Archive. |
boolean |
omit(java.lang.String name)
Returns true if filename must be omitted in the archive. |
void |
setApplication(Application app)
Set the container application. |
Methods inherited from class org.objectweb.jonas_lib.genbase.archive.J2EEArchive |
---|
addDirectory, addDirectoryIn, addFile, addFile, addFileIn, getArchive, getContainedFiles, getI18n, getInputStream, getLogger, getManifest, getModuleClassloader, getName, getRootFile, isDTDsAllowed, isPacked, setArchive, setModuleClassloader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Client(Archive archive) throws GenBaseException
archive
- the archive file
GenBaseException
- When Init fails.public Client(Archive archive, Application app) throws GenBaseException
archive
- the archive fileapp
- the container Application
GenBaseException
- When Init failsMethod Detail |
---|
public void setApplication(Application app)
app
- the container application.public Application getApplication()
public java.util.List getServiceRefDescs()
getServiceRefDescs
in interface WsClient
public void addClasses(java.io.File classes)
classes
- directory with classes.public java.util.Map getDescriptors()
getDescriptors
in class J2EEArchive
public boolean omit(java.lang.String name)
omit
in class J2EEArchive
name
- filename to be tested
public org.w3c.dom.Document getJonasClientDoc()
public java.io.InputStream getJonasClientInputStream() throws java.io.IOException
java.io.IOException
- When InputStream of jonas-client.xml cannot be
returned.public void initialize() throws GenBaseException
initialize
in class J2EEArchive
GenBaseException
- When initialization fails.public java.util.List getEjbRefDescs()
getEjbRefDescs
in interface EjbRefModule
public void close()
close
in interface Archive
close
in class J2EEArchive
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |