|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsif.base.WSIFServiceImpl
public class WSIFServiceImpl
An entry point to dynamic WSDL invocations.
Method Summary | |
---|---|
static void |
addExtensionRegistry(javax.wsdl.extensions.ExtensionRegistry reg)
Add new WSDL model extension registry that is shared by all dynamic WSIF providers. |
java.lang.String |
deep()
|
java.util.Iterator |
getAvailablePortNames()
Get the names of the available ports |
static javax.wsdl.extensions.ExtensionRegistry |
getCompositeExtensionRegistry()
Return extension registry that contains ALL declared extensions. |
WSIFMessage |
getContext()
Gets the context information for this WSIFService. |
javax.wsdl.Definition |
getDefinition()
Get the Definition object representing the wsdl document |
static WSIFProvider |
getDynamicWSIFProvider(java.lang.String namespaceURI)
Deprecated. this method is replaced by the getProvider method in the org.apache.util.WSIFPluggableProviders class |
WSIFPort |
getPort()
Returns an appropriate WSIFPort for the portType that this factory supports. |
WSIFPort |
getPort(java.lang.String portName)
Return dynamic port instance selected by port name. |
java.lang.Object |
getStub(java.lang.Class iface)
Get the dynamic proxy that will implement the interface iface |
java.lang.Object |
getStub(java.lang.String portName,
java.lang.Class iface)
Get the dynamic proxy that will implement the interface iface for the port portName. |
void |
mapPackage(java.lang.String namespace,
java.lang.String packageName)
Add an association between a namespace URI and and a Java package. |
void |
mapType(javax.xml.namespace.QName xmlType,
java.lang.Class javaType)
Add association between XML and Java type. |
void |
mapType(javax.xml.namespace.QName xmlType,
java.lang.String className)
Add association between XML and Java type. |
static void |
setAutoLoadProviders(boolean b)
Deprecated. this method is replaced by the setAutoLoadProviders method in the org.apache.util.WSIFPluggableProviders class |
void |
setContext(WSIFMessage context)
Sets the context information for this WSIFService. |
static void |
setDynamicWSIFProvider(java.lang.String providerNamespaceURI,
WSIFProvider provider)
Deprecated. this method is replaced by the overrideDefaultProvider method in the org.apache.util.WSIFPluggableProviders class |
void |
setPreferredPort(java.lang.String portName)
Set the preferred port |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setPreferredPort(java.lang.String portName) throws WSIFException
setPreferredPort
in interface WSIFService
portName
- The name of the port to use
WSIFException
- if something goes wrongpublic java.util.Iterator getAvailablePortNames() throws WSIFException
getAvailablePortNames
in interface WSIFService
WSIFException
- if something goes wrongpublic WSIFPort getPort() throws WSIFException
WSIFService
getPort
in interface WSIFService
WSIFException
- if a suitable port cannot be located.public WSIFPort getPort(java.lang.String portName) throws WSIFException
getPort
in interface WSIFService
portName
- name of the port (local part of the name).
WSIFException
- if the named port is not known or availablepublic void mapType(javax.xml.namespace.QName xmlType, java.lang.Class javaType) throws WSIFException
mapType
in interface WSIFService
xmlType
- The qualified xml namejavaType
- The Java class
WSIFException
- if something goes wrongpublic void mapType(javax.xml.namespace.QName xmlType, java.lang.String className) throws WSIFException
xmlType
- The qualified xml nameclassName
- The Java class name
WSIFException
public void mapPackage(java.lang.String namespace, java.lang.String packageName) throws WSIFException
mapPackage
in interface WSIFService
namespace
- The namespace URIpackageName
- The full package name
WSIFException
- if something goes wrongpublic static WSIFProvider getDynamicWSIFProvider(java.lang.String namespaceURI)
public static void setDynamicWSIFProvider(java.lang.String providerNamespaceURI, WSIFProvider provider)
public static void setAutoLoadProviders(boolean b)
public java.lang.Object getStub(java.lang.String portName, java.lang.Class iface) throws WSIFException
getStub
in interface WSIFService
portName
- the name of the portiface
- the interface that the stub will implement
WSIFException
- if something goes wrongpublic java.lang.Object getStub(java.lang.Class iface) throws WSIFException
getStub
in interface WSIFService
WSIFException
- if something goes wrongpublic static void addExtensionRegistry(javax.wsdl.extensions.ExtensionRegistry reg)
public static javax.wsdl.extensions.ExtensionRegistry getCompositeExtensionRegistry()
addExtensionRegistry(javax.wsdl.extensions.ExtensionRegistry)
public javax.wsdl.Definition getDefinition()
getDefinition
in interface WSIFService
public WSIFMessage getContext() throws WSIFException
getContext
in interface WSIFService
WSIFException
public void setContext(WSIFMessage context)
setContext
in interface WSIFService
WSIFMessage
- the new context informationpublic java.lang.String deep()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |