public class ServiceFactoryImpl extends ServiceFactory
SERVICEFACTORY_PROPERTY
Constructor and Description |
---|
ServiceFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
Service |
createService(QName serviceName)
Create a
Service instance. |
Service |
createService(URL wsdlURL,
QName serviceName)
Create a
Service instance. |
Service |
createService(URL wsdlURL,
QName serviceName,
URL mappingURL)
Create a
Service instance. |
Service |
createService(URL wsdlURL,
QName serviceName,
URL mappingURL,
URL securityURL)
Create a
Service instance. |
Service |
loadService(Class serviceInterface)
Create an instance of the generated service implementation class for a given service interface, if available.
|
Service |
loadService(URL wsdlDocumentLocation,
Class serviceInterface,
Properties props)
Create an instance of the generated service implementation class for a given service interface, if available.
|
Service |
loadService(URL wsdlDocumentLocation,
QName serviceName,
Properties props)
Create an instance of the generated service implementation class for a given service, if available.
|
newInstance
public Service loadService(Class serviceInterface) throws ServiceException
loadService
in class ServiceFactory
serviceInterface
- Service interfaceServiceException
- If there is any error while creating the specified service, including the case where a
generated service implementation class cannot be locatedpublic Service loadService(URL wsdlDocumentLocation, Class serviceInterface, Properties props) throws ServiceException
loadService
in class ServiceFactory
wsdlDocumentLocation
- URL for the WSDL document location for the service or nullserviceInterface
- Service interfaceprops
- A set of implementation-specific properties to help locate the generated service implementation classServiceException
- If there is any error while creating the specified service, including the case where a
generated service implementation class cannot be locatedpublic Service loadService(URL wsdlDocumentLocation, QName serviceName, Properties props) throws ServiceException
loadService
in class ServiceFactory
wsdlDocumentLocation
- URL for the WSDL document location for the service or nullserviceName
- Qualified name for the serviceprops
- A set of implementation-specific properties to help locate the generated service implementation classServiceException
- If there is any error while creating the specified service, including the case where a generated service implementation class cannot be locatedpublic Service createService(QName serviceName) throws ServiceException
Service
instance.createService
in class ServiceFactory
serviceName
- QName for the serviceServiceException
- If any error in creation of the specified servicepublic Service createService(URL wsdlURL, QName serviceName) throws ServiceException
Service
instance.createService
in class ServiceFactory
wsdlURL
- URL for the WSDL document locationserviceName
- QName for the service.ServiceException
- If any error in creation of the specified servicepublic Service createService(URL wsdlURL, QName serviceName, URL mappingURL) throws ServiceException
Service
instance.wsdlURL
- URL for the WSDL document locationserviceName
- QName for the service.mappingURL
- URL for the jaxrpc-mapping.xml document locationServiceException
- If any error in creation of the specified servicepublic Service createService(URL wsdlURL, QName serviceName, URL mappingURL, URL securityURL) throws ServiceException
Service
instance.wsdlURL
- URL for the WSDL document locationserviceName
- QName for the service.mappingURL
- URL for the jaxrpc-mapping.xml document locationsecurityURL
- URL for the jboss-ws-security.xml fileServiceException
- If any error in creation of the specified serviceCopyright © 2018 JBoss by Red Hat. All rights reserved.