Class JBossPackager
java.lang.Object
org.eclipse.persistence.tools.dbws.XRPackager
org.eclipse.persistence.tools.dbws.ProviderPackager
org.eclipse.persistence.tools.dbws.JSR109WebServicePackager
org.eclipse.persistence.tools.dbws.WarPackager
org.eclipse.persistence.tools.dbws.JBossPackager
- All Implemented Interfaces:
DBWSPackager
Packages generated artifacts for deployment to JBoss AS.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.persistence.tools.dbws.XRPackager
XRPackager.NullOutputStream
Nested classes/interfaces inherited from interface org.eclipse.persistence.tools.dbws.DBWSPackager
DBWSPackager.Archiver, DBWSPackager.ArchiveUse
-
Field Summary
Fields inherited from class org.eclipse.persistence.tools.dbws.JSR109WebServicePackager
WEB_XML_PREAMBLE, WEB_XML_URL_PATTERN
Fields inherited from class org.eclipse.persistence.tools.dbws.ProviderPackager
DBWS_PROVIDER_SOAP11_MTOM_BINDING, DBWS_PROVIDER_SOAP12_BINDING, DBWS_PROVIDER_SOAP12_MTOM_BINDING, DBWS_PROVIDER_SOURCE_CLASSDEF, DBWS_PROVIDER_SOURCE_PORT_NAME, DBWS_PROVIDER_SOURCE_PREAMBLE_END, DBWS_PROVIDER_SOURCE_PREAMBLE_START, DBWS_PROVIDER_SOURCE_SERVICE_NAME, DBWS_PROVIDER_SOURCE_SOAP11HTTP_MTOM_BINDING, DBWS_PROVIDER_SOURCE_SOAP12HTTP_BINDING, DBWS_PROVIDER_SOURCE_SOAP12HTTP_MTOM_BINDING, DBWS_PROVIDER_SOURCE_SUFFIX, DBWS_PROVIDER_SOURCE_TARGET_NAMESPACE, DBWS_PROVIDER_SOURCE_WSDL_LOCATION, PROVIDER_LISTENER_SOURCE, PROVIDER_NAME
Fields inherited from class org.eclipse.persistence.tools.dbws.XRPackager
__nullStream, additionalArgs, ALL, archiver, archiveUse, builder, CONFIG, FINE, FINER, FINEST, hasAttachments, INFO, OFF, packagerLabel, sessionsFileName, SEVERE, stageDir, WARNING, XR_STR
-
Constructor Summary
ModifierConstructorDescriptionThe default constructor configures for deployment as a WAR archive to JBoss AS.protected
JBossPackager
(DBWSPackager.Archiver archiver, String packagerLabel, DBWSPackager.ArchiveUse useJavaArchive) -
Method Summary
Modifier and TypeMethodDescriptionbuildSessionsXML
(OutputStream dbwsSessionsStream, DBWSBuilder builder) void
closeDeploymentDescriptorStream
(OutputStream descriptorOutputStream) Closes the given OutputStream.Return the name of the deployment descriptor file.Return an OutputStream to the deployment descriptor.void
writeDeploymentDescriptor
(OutputStream descriptorOutputStream) Write the deployment descriptor contents to the provided OutputStream.Methods inherited from class org.eclipse.persistence.tools.dbws.WarPackager
getAdditionalUsage
Methods inherited from class org.eclipse.persistence.tools.dbws.JSR109WebServicePackager
buildDefaultArchiver, getWebXmlStream, getWSDLPathPrefix, writeWebXml
Methods inherited from class org.eclipse.persistence.tools.dbws.ProviderPackager
getProviderClassStream, getProviderListenerClassStream, getProviderListenerSourceStream, getProviderSourceStream, getWSDLStream, writeProvider
Methods inherited from class org.eclipse.persistence.tools.dbws.XRPackager
closeOrStream, closeOxStream, closeProviderClassStream, closeProviderListenerClassStream, closeProviderListenerSourceStream, closeProviderSourceStream, closeSchemaStream, closeServiceStream, closeSessionsStream, closeStream, closeSWARefStream, closeWebXmlStream, closeWSDLStream, end, getArchiveFilename, getArchiver, getArchiverLabel, getOrProjectPathPrefix, getOrStream, getOxProjectPathPrefix, getOxStream, getPackagerLabel, getSchemaStream, getServiceStream, getSessionsFileName, getSessionsStream, getStageDir, getSWARefStream, getUsage, hasAttachments, processAdditionalArgs, processArchiveUse, setAdditionalArgs, setArchiveFilename, setArchiver, setArchiveUse, setDBWSBuilder, setHasAttachments, setSessionsFileName, setStageDir, start
-
Constructor Details
-
JBossPackager
public JBossPackager()The default constructor configures for deployment as a WAR archive to JBoss AS. -
JBossPackager
protected JBossPackager(DBWSPackager.Archiver archiver, String packagerLabel, DBWSPackager.ArchiveUse useJavaArchive)
-
-
Method Details
-
writeDeploymentDescriptor
Write the deployment descriptor contents to the provided OutputStream.- Specified by:
writeDeploymentDescriptor
in interfaceDBWSPackager
- Overrides:
writeDeploymentDescriptor
in classXRPackager
-
getDeploymentDescriptorStream
Return an OutputStream to the deployment descriptor.- Specified by:
getDeploymentDescriptorStream
in interfaceDBWSPackager
- Overrides:
getDeploymentDescriptorStream
in classXRPackager
- Throws:
FileNotFoundException
-
closeDeploymentDescriptorStream
Closes the given OutputStream.- Specified by:
closeDeploymentDescriptorStream
in interfaceDBWSPackager
- Overrides:
closeDeploymentDescriptorStream
in classXRPackager
-
getDeploymentDescriptorFileName
Return the name of the deployment descriptor file.- Specified by:
getDeploymentDescriptorFileName
in interfaceDBWSPackager
- Overrides:
getDeploymentDescriptorFileName
in classXRPackager
-
buildSessionsXML
- Specified by:
buildSessionsXML
in interfaceDBWSPackager
- Overrides:
buildSessionsXML
in classXRPackager
-