|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.wsif.WSIFServiceFactory
org.apache.wsif.base.WSIFServiceFactoryImpl
Factory class used to create instances of WSIFService
| Constructor Summary | |
WSIFServiceFactoryImpl()
|
|
| 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. |
java.lang.Object |
getFeature(java.lang.String name)
Get the value for a feature currently being used by the factory. |
java.util.Map |
getFeatures()
Get the map of features currently being used by the factory. |
WSIFService |
getService(javax.wsdl.Definition def)
Returns a new WSIFService. |
WSIFService |
getService(javax.wsdl.Definition def,
javax.wsdl.Service service)
Returns a new WSIFService. |
WSIFService |
getService(javax.wsdl.Definition def,
javax.wsdl.Service service,
javax.wsdl.PortType portType)
Returns a new WSIFService. |
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. |
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. |
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. |
void |
setFeature(java.lang.String name,
java.lang.Object value)
Set a feature on the WSIFServiceFactory. |
void |
setFeatures(java.util.Map map)
Set features on the WSIFServiceFactory. |
| Methods inherited from class org.apache.wsif.WSIFServiceFactory |
newInstance |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WSIFServiceFactoryImpl()
| Method Detail |
public WSIFService getService(java.lang.String wsdlLoc,
java.lang.String serviceNS,
java.lang.String serviceName,
java.lang.String portTypeNS,
java.lang.String portTypeName)
throws WSIFException
getService in class WSIFServiceFactorywsdlLoc - The URL for the wsdl's locationserviceNS - The namespace of the serviceserviceName - The name of the serviceportTypeNS - The namespace of the port typeportTypeName - The name of the port type
A - WSIFException if an error occurs when creating the service
WSIFException
public 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
getService in class WSIFServiceFactorywsdlLoc - The URL for the wsdl's locationcl - A ClassLoader to use in locating the wsdlserviceNS - The namespace of the serviceserviceName - The name of the serviceportTypeNS - The namespace of the port typeportTypeName - The name of the port type
A - WSIFException if an error occurs when creating the service
WSIFException
public WSIFService getService(javax.wsdl.Definition def)
throws WSIFException
getService in class WSIFServiceFactorydef - The Definition object representing the wsdl
A - WSIFException if an error occurs when creating the service
WSIFException
public WSIFService getService(javax.wsdl.Definition def,
javax.wsdl.Service service)
throws WSIFException
getService in class WSIFServiceFactorydef - The Definition object representing the wsdlservice - The Service object representing the service to use
A - WSIFException if an error occurs when creating the service
WSIFException
public WSIFService getService(javax.wsdl.Definition def,
javax.wsdl.Service service,
javax.wsdl.PortType portType)
throws WSIFException
getService in class WSIFServiceFactorydef - The Definition object representing the wsdlservice - The Service object representing the service to useportType - The PortType object representing the port type to use
A - WSIFException if an error occurs when creating the service
WSIFException
public WSIFService getService(javax.wsdl.Definition def,
java.lang.String serviceNS,
java.lang.String serviceName,
java.lang.String portTypeNS,
java.lang.String portTypeName)
throws WSIFException
getService in class WSIFServiceFactorydef - The Definition object representing the wsdlserviceNS - The namespace of the serviceserviceName - The name of the serviceportTypeNS - The namespace of the port typeportTypeName - The name of the port type
A - WSIFException if an error occurs when creating the service
WSIFExceptionpublic void cachingOn(boolean on)
setFeature(WSIFConstants.WSIF_FEATURE_SERVICE_CACHING, new Boolean(true))
or setFeature(WSIFConstants.WSIF_FEATURE_SERVICE_CACHING, new Boolean(false)) instead
cachingOn in class WSIFServiceFactoryon - Flag to indicate whether or not caching of services should be usedpublic void clearServiceCache()
clearServiceCache in class WSIFServiceFactory
public void setFeature(java.lang.String name,
java.lang.Object value)
WSIFServiceFactoryWSIFConstants 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.
setFeature in class WSIFServiceFactoryname - The name of the feature to setvalue - The value of the featureWSIFServiceFactory.setFeature(String, Object)public void setFeatures(java.util.Map map)
WSIFServiceFactoryWSIFConstants 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.
setFeatures in class WSIFServiceFactorymap - A Map containing all the features to set on the factoryWSIFServiceFactory.setFeatures(Map)public java.lang.Object getFeature(java.lang.String name)
WSIFServiceFactory
getFeature in class WSIFServiceFactoryWSIFServiceFactory.getFeature(String)public java.util.Map getFeatures()
WSIFServiceFactory
getFeatures in class WSIFServiceFactoryWSIFServiceFactory.getFeatures()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||