|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.wsif.base.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. |
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 |
static boolean |
getJROMAvailability()
Returns a boolean to indicate if JROM is available to wsif |
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 an 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 |
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 usepublic java.util.Iterator getAvailablePortNames() throws WSIFException
getAvailablePortNames
in interface WSIFService
public WSIFPort getPort() throws WSIFException
WSIFService
getPort
in interface WSIFService
org.apache.wsif.WSIFService
WSIFException
- if a suitable port cannot be located.public WSIFPort getPort(java.lang.String portName) throws WSIFException
getPort
in interface WSIFService
org.apache.wsif.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 classpublic void mapPackage(java.lang.String namespace, java.lang.String packageName) throws WSIFException
mapPackage
in interface WSIFService
namespace
- The namespace URIpackageName
- The full package namepublic 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
org.apache.wsif.WSIFService
portName
- the name of the portiface
- the interface that the stub will implementWSIFException
- if something goes wrongpublic java.lang.Object getStub(java.lang.Class iface) throws WSIFException
getStub
in interface WSIFService
org.apache.wsif.WSIFService
portName
- the name of the portWSIFException
- 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 static boolean getJROMAvailability()
public javax.wsdl.Definition getDefinition()
getDefinition
in interface WSIFService
public java.lang.String deep()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |