Class ProviderPackager
java.lang.Object
org.eclipse.persistence.tools.dbws.XRPackager
org.eclipse.persistence.tools.dbws.ProviderPackager
- All Implemented Interfaces:
DBWSPackager
- Direct Known Subclasses:
JavasePackager
,JSR109WebServicePackager
INTERNAL: ProviderPackager extends XRPackager
. It is responsible for generating
the jakarta.servlet.ServletContextListener
and the JAX-WS jakarta.xml.ws.Provider
and saves the generated WSDL
to ${stageDir}
${PACKAGER_ROOT} | DBWSProvider.class -- code-generated jakarta.xml.ws.Provider | ProviderListener.class -- code-generated jakarta.servlet.ServletContextListener
- Since:
- EclipseLink 1.x
-
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
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
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
ModifierConstructorDescriptionprotected
ProviderPackager
(DBWSPackager.Archiver archiver, String packagerLabel, DBWSPackager.ArchiveUse useJavaArchive) -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeProvider
(OutputStream sourceProviderStream, OutputStream classProviderStream, OutputStream sourceProviderListenerStream, OutputStream classProviderListenerStream, DBWSBuilder builder) Methods inherited from class org.eclipse.persistence.tools.dbws.XRPackager
buildSessionsXML, closeDeploymentDescriptorStream, closeOrStream, closeOxStream, closeProviderClassStream, closeProviderListenerClassStream, closeProviderListenerSourceStream, closeProviderSourceStream, closeSchemaStream, closeServiceStream, closeSessionsStream, closeStream, closeSWARefStream, closeWebXmlStream, closeWSDLStream, end, getAdditionalUsage, getArchiveFilename, getArchiver, getArchiverLabel, getDeploymentDescriptorFileName, getDeploymentDescriptorStream, getOrProjectPathPrefix, getOrStream, getOxProjectPathPrefix, getOxStream, getPackagerLabel, getSchemaStream, getServiceStream, getSessionsFileName, getSessionsStream, getStageDir, getSWARefStream, getUsage, getWebXmlStream, getWSDLPathPrefix, hasAttachments, processAdditionalArgs, processArchiveUse, setAdditionalArgs, setArchiveFilename, setArchiver, setArchiveUse, setDBWSBuilder, setHasAttachments, setSessionsFileName, setStageDir, start, writeDeploymentDescriptor, writeWebXml
-
Field Details
-
PROVIDER_NAME
- See Also:
-
PROVIDER_LISTENER_SOURCE
- See Also:
-
DBWS_PROVIDER_SOURCE_PREAMBLE_START
- See Also:
-
DBWS_PROVIDER_SOURCE_SOAP11HTTP_MTOM_BINDING
- See Also:
-
DBWS_PROVIDER_SOURCE_SOAP12HTTP_BINDING
- See Also:
-
DBWS_PROVIDER_SOURCE_SOAP12HTTP_MTOM_BINDING
- See Also:
-
DBWS_PROVIDER_SOURCE_PREAMBLE_END
-
DBWS_PROVIDER_SOURCE_WSDL_LOCATION
- See Also:
-
DBWS_PROVIDER_SOURCE_SERVICE_NAME
- See Also:
-
DBWS_PROVIDER_SOURCE_PORT_NAME
- See Also:
-
DBWS_PROVIDER_SOURCE_TARGET_NAMESPACE
- See Also:
-
DBWS_PROVIDER_SOURCE_SUFFIX
- See Also:
-
DBWS_PROVIDER_SOAP12_BINDING
- See Also:
-
DBWS_PROVIDER_SOAP11_MTOM_BINDING
- See Also:
-
DBWS_PROVIDER_SOAP12_MTOM_BINDING
- See Also:
-
DBWS_PROVIDER_SOURCE_CLASSDEF
- See Also:
-
-
Constructor Details
-
ProviderPackager
public ProviderPackager() -
ProviderPackager
protected ProviderPackager(DBWSPackager.Archiver archiver, String packagerLabel, DBWSPackager.ArchiveUse useJavaArchive)
-
-
Method Details
-
buildDefaultArchiver
- Overrides:
buildDefaultArchiver
in classXRPackager
-
getWSDLStream
- Specified by:
getWSDLStream
in interfaceDBWSPackager
- Overrides:
getWSDLStream
in classXRPackager
- Throws:
FileNotFoundException
-
getProviderClassStream
- Specified by:
getProviderClassStream
in interfaceDBWSPackager
- Overrides:
getProviderClassStream
in classXRPackager
- Throws:
FileNotFoundException
-
getProviderSourceStream
- Specified by:
getProviderSourceStream
in interfaceDBWSPackager
- Overrides:
getProviderSourceStream
in classXRPackager
- Throws:
FileNotFoundException
-
getProviderListenerSourceStream
- Specified by:
getProviderListenerSourceStream
in interfaceDBWSPackager
- Overrides:
getProviderListenerSourceStream
in classXRPackager
- Throws:
FileNotFoundException
-
getProviderListenerClassStream
- Specified by:
getProviderListenerClassStream
in interfaceDBWSPackager
- Overrides:
getProviderListenerClassStream
in classXRPackager
- Throws:
FileNotFoundException
-
writeProvider
public void writeProvider(OutputStream sourceProviderStream, OutputStream classProviderStream, OutputStream sourceProviderListenerStream, OutputStream classProviderListenerStream, DBWSBuilder builder) - Specified by:
writeProvider
in interfaceDBWSPackager
- Overrides:
writeProvider
in classXRPackager
-