|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsif.WSIFServiceFactory
Abstract factory class to create instances of WSIFService. Call newInstance to get a instance of the factory.
Constructor Summary | |
WSIFServiceFactory()
|
Method Summary | |
void |
cachingOn(boolean on)
Deprecated. Use setFeature(WSIFConstants.WSIF_FEATURE_SERVICE_CACHING, new Boolean(true))
or setFeature(WSIFConstants.WSIF_FEATURE_SERVICE_CACHING, new Boolean(false)) instead |
void |
clearServiceCache()
Clear out the service cache. |
abstract java.lang.Object |
getFeature(java.lang.String name)
Get the value for a feature currently being used by the factory. |
abstract java.util.Map |
getFeatures()
Get the map of features currently being used by the factory. |
abstract WSIFService |
getService(javax.wsdl.Definition def)
Returns a new WSIFService. |
abstract WSIFService |
getService(javax.wsdl.Definition def,
javax.wsdl.Service service)
Returns a new WSIFService. |
abstract WSIFService |
getService(javax.wsdl.Definition def,
javax.wsdl.Service service,
javax.wsdl.PortType portType)
Returns a new WSIFService. |
abstract WSIFService |
getService(javax.wsdl.Definition def,
java.lang.String serviceNS,
java.lang.String serviceName,
java.lang.String portTypeNS,
java.lang.String portTypeName)
Returns a new WSIFService. |
abstract WSIFService |
getService(java.lang.String wsdlLoc,
java.lang.ClassLoader cl,
java.lang.String serviceNS,
java.lang.String serviceName,
java.lang.String portTypeNS,
java.lang.String portTypeName)
Create a WSIF service instance from WSDL document URL using a ClassLoader to find local resources. |
abstract WSIFService |
getService(java.lang.String wsdlLoc,
java.lang.String serviceNS,
java.lang.String serviceName,
java.lang.String portTypeNS,
java.lang.String portTypeName)
Create a WSIFService from WSDL document URL. |
static WSIFServiceFactory |
newInstance()
Creates a new instance of an implementation the abstract WSIFServiceFactory class. |
abstract void |
setFeature(java.lang.String name,
java.lang.Object value)
Set a feature on the WSIFServiceFactory. |
abstract void |
setFeatures(java.util.Map map)
Set features on the WSIFServiceFactory. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WSIFServiceFactory()
Method Detail |
public static WSIFServiceFactory newInstance()
public abstract WSIFService getService(java.lang.String wsdlLoc, java.lang.String serviceNS, java.lang.String serviceName, java.lang.String portTypeNS, java.lang.String portTypeName) throws WSIFException
WSIFException
public abstract WSIFService getService(java.lang.String wsdlLoc, java.lang.ClassLoader cl, java.lang.String serviceNS, java.lang.String serviceName, java.lang.String portTypeNS, java.lang.String portTypeName) throws WSIFException
WSIFException
public abstract WSIFService getService(javax.wsdl.Definition def) throws WSIFException
WSIFException
public abstract WSIFService getService(javax.wsdl.Definition def, javax.wsdl.Service service) throws WSIFException
WSIFException
public abstract WSIFService getService(javax.wsdl.Definition def, javax.wsdl.Service service, javax.wsdl.PortType portType) throws WSIFException
WSIFException
public abstract WSIFService getService(javax.wsdl.Definition def, java.lang.String serviceNS, java.lang.String serviceName, java.lang.String portTypeNS, java.lang.String portTypeName) throws WSIFException
WSIFException
public void cachingOn(boolean on)
setFeature(WSIFConstants.WSIF_FEATURE_SERVICE_CACHING, new Boolean(true))
or setFeature(WSIFConstants.WSIF_FEATURE_SERVICE_CACHING, new Boolean(false))
instead
on
- Flag to indicate whether or not caching of services should be usedpublic void clearServiceCache()
public abstract void setFeature(java.lang.String name, java.lang.Object value)
WSIFConstants
class. The names of these constants have a convention of starting
WSIF_FEATURE_
.
For more information about individual features, see the field details for the feature constants.
name
- The name of the feature to setvalue
- The value of the featurepublic abstract void setFeatures(java.util.Map map)
WSIFConstants
class. The names of these constants have a convention of starting
WSIF_FEATURE_
.
For more information about individual features, see the field details for the feature constants.
map
- A Map containing all the features to set on the factorypublic abstract java.util.Map getFeatures()
public abstract java.lang.Object getFeature(java.lang.String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |