|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.wsdl.util.WSDLDefinitionWrapper
public class WSDLDefinitionWrapper
There are cases where a WSDL definition is kept in memory in case it needs to be accessed during runtime. In situations where there are lots of WSDL definitions or big WSDLs, the memory footprint can be huge. This class provides support for processing a WSDL4J definition with a lower memory footprint. This is useful for certain environments. This class makes the decision on which implementation to use to reduce memory footprint. This allows other implementations to be used for specific environments without adding lots of extra overhead to every environment.
Field Summary |
---|
Fields inherited from interface javax.wsdl.extensions.AttributeExtensible |
---|
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE |
Constructor Summary | |
---|---|
WSDLDefinitionWrapper(javax.wsdl.Definition def)
Deprecated. because this constructor does not provide any guidance for memory usage |
|
WSDLDefinitionWrapper(javax.wsdl.Definition def,
AxisConfiguration axisConfig)
|
|
WSDLDefinitionWrapper(javax.wsdl.Definition def,
boolean limitMemory,
int memoryType)
|
|
WSDLDefinitionWrapper(javax.wsdl.Definition def,
java.net.URL wURL)
Deprecated. use a constructor with a AxisConfiguration or memory limit parameter |
|
WSDLDefinitionWrapper(javax.wsdl.Definition def,
java.net.URL wURL,
AxisConfiguration axisCfg)
Constructor |
|
WSDLDefinitionWrapper(javax.wsdl.Definition def,
java.net.URL wURL,
boolean limitInMemory)
Constructor |
|
WSDLDefinitionWrapper(javax.wsdl.Definition def,
java.net.URL wURL,
boolean limitInMemory,
int memoryType)
Constructor |
|
WSDLDefinitionWrapper(javax.wsdl.Definition def,
java.net.URL wURL,
int limitType)
Constructor |
Method Summary | |
---|---|
void |
addBinding(javax.wsdl.Binding binding)
|
void |
addExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement extElement)
|
void |
addImport(javax.wsdl.Import importDef)
|
void |
addMessage(javax.wsdl.Message message)
|
void |
addNamespace(java.lang.String prefix,
java.lang.String namespaceURI)
|
void |
addPortType(javax.wsdl.PortType portType)
|
void |
addService(javax.wsdl.Service service)
|
javax.wsdl.Binding |
createBinding()
|
javax.wsdl.BindingFault |
createBindingFault()
|
javax.wsdl.BindingInput |
createBindingInput()
|
javax.wsdl.BindingOperation |
createBindingOperation()
|
javax.wsdl.BindingOutput |
createBindingOutput()
|
javax.wsdl.Fault |
createFault()
|
javax.wsdl.Import |
createImport()
|
javax.wsdl.Input |
createInput()
|
javax.wsdl.Message |
createMessage()
|
javax.wsdl.Operation |
createOperation()
|
javax.wsdl.Output |
createOutput()
|
javax.wsdl.Part |
createPart()
|
javax.wsdl.Port |
createPort()
|
javax.wsdl.PortType |
createPortType()
|
javax.wsdl.Service |
createService()
|
javax.wsdl.Types |
createTypes()
|
java.util.Map |
getAllBindings()
|
java.util.Map |
getAllPortTypes()
|
java.util.Map |
getAllServices()
|
javax.wsdl.Binding |
getBinding(QName name)
|
java.util.Map |
getBindings()
|
org.w3c.dom.Element |
getDocumentationElement()
|
java.lang.String |
getDocumentBaseURI()
|
java.util.List |
getExtensibilityElements()
|
java.lang.Object |
getExtensionAttribute(QName name)
|
java.util.Map |
getExtensionAttributes()
|
javax.wsdl.extensions.ExtensionRegistry |
getExtensionRegistry()
|
java.util.Map |
getImports()
|
java.util.List |
getImports(java.lang.String namespaceURI)
|
int |
getMemoryLimitType()
|
javax.wsdl.Message |
getMessage(QName name)
|
java.util.Map |
getMessages()
|
java.lang.String |
getNamespace(java.lang.String prefix)
|
java.util.Map |
getNamespaces()
|
java.util.List |
getNativeAttributeNames()
|
javax.wsdl.PortType |
getPortType(QName name)
|
java.util.Map |
getPortTypes()
|
java.lang.String |
getPrefix(java.lang.String namespaceURI)
|
QName |
getQName()
|
javax.wsdl.Service |
getService(QName name)
|
java.util.Map |
getServices()
|
java.lang.String |
getTargetNamespace()
|
javax.wsdl.Types |
getTypes()
|
javax.wsdl.Definition |
getUnwrappedDefinition()
|
javax.wsdl.Binding |
removeBinding(QName name)
|
javax.wsdl.extensions.ExtensibilityElement |
removeExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement extElement)
|
javax.wsdl.Import |
removeImport(javax.wsdl.Import importDef)
|
javax.wsdl.Message |
removeMessage(QName name)
|
java.lang.String |
removeNamespace(java.lang.String prefix)
|
javax.wsdl.PortType |
removePortType(QName name)
|
javax.wsdl.Service |
removeService(QName name)
|
void |
setDocumentationElement(org.w3c.dom.Element docEl)
|
void |
setDocumentBaseURI(java.lang.String d)
|
void |
setExtensionAttribute(QName name,
java.lang.Object value)
|
void |
setExtensionRegistry(javax.wsdl.extensions.ExtensionRegistry extReg)
|
void |
setQName(QName n)
|
void |
setTargetNamespace(java.lang.String t)
|
void |
setTypes(javax.wsdl.Types types)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WSDLDefinitionWrapper(javax.wsdl.Definition def)
def
- The WSDL Definitionpublic WSDLDefinitionWrapper(javax.wsdl.Definition def, boolean limitMemory, int memoryType)
def
- limitMemory
- true if you want to use a memory sensitive wrapperpublic WSDLDefinitionWrapper(javax.wsdl.Definition def, AxisConfiguration axisConfig)
def
- WDDL DefinitionaxisConfig
- Axis Configurationpublic WSDLDefinitionWrapper(javax.wsdl.Definition def, java.net.URL wURL)
def
- The WSDL DefinitionwURL
- The URL for the wsdlpublic WSDLDefinitionWrapper(javax.wsdl.Definition def, java.net.URL wURL, boolean limitInMemory)
def
- The WSDL DefinitionwURL
- The URL for the wsdllimitInMemory
- The setting indicating whether the in-memory WSDL copy
should be manipulated to reduce memory footprintpublic WSDLDefinitionWrapper(javax.wsdl.Definition def, java.net.URL wURL, boolean limitInMemory, int memoryType)
def
- The WSDL DefinitionwURL
- The URL for the wsdllimitInMemory
- The setting indicating whether the in-memory WSDL copy
should be manipulated to reduce memory footprintmemoryType
- public WSDLDefinitionWrapper(javax.wsdl.Definition def, java.net.URL wURL, int limitType)
def
- The WSDL DefinitionwURL
- The URL for the wsdllimitType
- The setting indicating which reduction technique
to usepublic WSDLDefinitionWrapper(javax.wsdl.Definition def, java.net.URL wURL, AxisConfiguration axisCfg)
def
- The WSDL DefinitionwURL
- The URL for the wsdlaxisCfg
- The AxisConfiguration object, to be used to get configuration settingsMethod Detail |
---|
public javax.wsdl.Definition getUnwrappedDefinition()
public int getMemoryLimitType()
public void setDocumentBaseURI(java.lang.String d)
setDocumentBaseURI
in interface javax.wsdl.Definition
public java.lang.String getDocumentBaseURI()
getDocumentBaseURI
in interface javax.wsdl.Definition
public void setQName(QName n)
setQName
in interface javax.wsdl.Definition
public QName getQName()
getQName
in interface javax.wsdl.Definition
public void setTargetNamespace(java.lang.String t)
setTargetNamespace
in interface javax.wsdl.Definition
public java.lang.String getTargetNamespace()
getTargetNamespace
in interface javax.wsdl.Definition
public void addNamespace(java.lang.String prefix, java.lang.String namespaceURI)
addNamespace
in interface javax.wsdl.Definition
public java.lang.String removeNamespace(java.lang.String prefix)
removeNamespace
in interface javax.wsdl.Definition
public java.lang.String getNamespace(java.lang.String prefix)
getNamespace
in interface javax.wsdl.Definition
public java.lang.String getPrefix(java.lang.String namespaceURI)
getPrefix
in interface javax.wsdl.Definition
public java.util.Map getNamespaces()
getNamespaces
in interface javax.wsdl.Definition
public java.util.List getNativeAttributeNames()
getNativeAttributeNames
in interface javax.wsdl.extensions.AttributeExtensible
public void setTypes(javax.wsdl.Types types)
setTypes
in interface javax.wsdl.Definition
public javax.wsdl.Types getTypes()
getTypes
in interface javax.wsdl.Definition
public void addImport(javax.wsdl.Import importDef)
addImport
in interface javax.wsdl.Definition
public javax.wsdl.Import removeImport(javax.wsdl.Import importDef)
removeImport
in interface javax.wsdl.Definition
public java.util.List getImports(java.lang.String namespaceURI)
getImports
in interface javax.wsdl.Definition
public java.util.Map getImports()
getImports
in interface javax.wsdl.Definition
public void addMessage(javax.wsdl.Message message)
addMessage
in interface javax.wsdl.Definition
public javax.wsdl.Message getMessage(QName name)
getMessage
in interface javax.wsdl.Definition
public javax.wsdl.Message removeMessage(QName name)
removeMessage
in interface javax.wsdl.Definition
public java.util.Map getMessages()
getMessages
in interface javax.wsdl.Definition
public void addBinding(javax.wsdl.Binding binding)
addBinding
in interface javax.wsdl.Definition
public javax.wsdl.Binding getBinding(QName name)
getBinding
in interface javax.wsdl.Definition
public javax.wsdl.Binding removeBinding(QName name)
removeBinding
in interface javax.wsdl.Definition
public java.util.Map getBindings()
getBindings
in interface javax.wsdl.Definition
public java.util.Map getAllBindings()
getAllBindings
in interface javax.wsdl.Definition
public void addPortType(javax.wsdl.PortType portType)
addPortType
in interface javax.wsdl.Definition
public javax.wsdl.PortType getPortType(QName name)
getPortType
in interface javax.wsdl.Definition
public javax.wsdl.PortType removePortType(QName name)
removePortType
in interface javax.wsdl.Definition
public java.util.Map getPortTypes()
getPortTypes
in interface javax.wsdl.Definition
public java.util.Map getAllPortTypes()
getAllPortTypes
in interface javax.wsdl.Definition
public void addService(javax.wsdl.Service service)
addService
in interface javax.wsdl.Definition
public javax.wsdl.Service getService(QName name)
getService
in interface javax.wsdl.Definition
public javax.wsdl.Service removeService(QName name)
removeService
in interface javax.wsdl.Definition
public java.util.Map getServices()
getServices
in interface javax.wsdl.Definition
public java.util.Map getAllServices()
getAllServices
in interface javax.wsdl.Definition
public void setDocumentationElement(org.w3c.dom.Element docEl)
setDocumentationElement
in interface javax.wsdl.WSDLElement
public org.w3c.dom.Element getDocumentationElement()
getDocumentationElement
in interface javax.wsdl.WSDLElement
public void addExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement extElement)
addExtensibilityElement
in interface javax.wsdl.extensions.ElementExtensible
public java.util.List getExtensibilityElements()
getExtensibilityElements
in interface javax.wsdl.extensions.ElementExtensible
public javax.wsdl.Binding createBinding()
createBinding
in interface javax.wsdl.Definition
public javax.wsdl.BindingFault createBindingFault()
createBindingFault
in interface javax.wsdl.Definition
public javax.wsdl.BindingInput createBindingInput()
createBindingInput
in interface javax.wsdl.Definition
public javax.wsdl.BindingOperation createBindingOperation()
createBindingOperation
in interface javax.wsdl.Definition
public javax.wsdl.BindingOutput createBindingOutput()
createBindingOutput
in interface javax.wsdl.Definition
public javax.wsdl.Fault createFault()
createFault
in interface javax.wsdl.Definition
public javax.wsdl.Import createImport()
createImport
in interface javax.wsdl.Definition
public javax.wsdl.Input createInput()
createInput
in interface javax.wsdl.Definition
public javax.wsdl.Message createMessage()
createMessage
in interface javax.wsdl.Definition
public javax.wsdl.Operation createOperation()
createOperation
in interface javax.wsdl.Definition
public javax.wsdl.Output createOutput()
createOutput
in interface javax.wsdl.Definition
public javax.wsdl.Part createPart()
createPart
in interface javax.wsdl.Definition
public javax.wsdl.Port createPort()
createPort
in interface javax.wsdl.Definition
public javax.wsdl.PortType createPortType()
createPortType
in interface javax.wsdl.Definition
public javax.wsdl.Service createService()
createService
in interface javax.wsdl.Definition
public javax.wsdl.Types createTypes()
createTypes
in interface javax.wsdl.Definition
public void setExtensionRegistry(javax.wsdl.extensions.ExtensionRegistry extReg)
setExtensionRegistry
in interface javax.wsdl.Definition
public javax.wsdl.extensions.ExtensionRegistry getExtensionRegistry()
getExtensionRegistry
in interface javax.wsdl.Definition
public java.lang.String toString()
toString
in class java.lang.Object
public javax.wsdl.extensions.ExtensibilityElement removeExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement extElement)
removeExtensibilityElement
in interface javax.wsdl.extensions.ElementExtensible
public java.lang.Object getExtensionAttribute(QName name)
getExtensionAttribute
in interface javax.wsdl.extensions.AttributeExtensible
public java.util.Map getExtensionAttributes()
getExtensionAttributes
in interface javax.wsdl.extensions.AttributeExtensible
public void setExtensionAttribute(QName name, java.lang.Object value)
setExtensionAttribute
in interface javax.wsdl.extensions.AttributeExtensible
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |