@Component public class WebServiceAutoDetector extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
NO_CLASS_FOUND |
static Class<WebService> |
SEI_ANNOTATION |
static Class<WebServiceClient> |
WEB_SERVICE_CLIENT_ANNOTATION |
| Constructor and Description |
|---|
WebServiceAutoDetector(WebServiceScanner webServiceScanner) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
searchAndInstantiateSeiImplementation()
Detects and instantiates the SEI-Implementation.
|
protected <T> T |
searchAndInstantiateSeiImplementation(Class seiName) |
Service |
searchAndInstantiateWebServiceClient() |
Class |
searchServiceEndpointInterface() |
protected static final String NO_CLASS_FOUND
public static final Class<WebService> SEI_ANNOTATION
public static final Class<WebServiceClient> WEB_SERVICE_CLIENT_ANNOTATION
public WebServiceAutoDetector(WebServiceScanner webServiceScanner) throws BootStarterCxfException
BootStarterCxfExceptionpublic <T> T searchAndInstantiateSeiImplementation()
throws BootStarterCxfException
T - returns the instantiated Service Endpoint Interface (SEI) implementationBootStarterCxfException - if the the SEI or it's implementation class wasn't foundprotected <T> T searchAndInstantiateSeiImplementation(Class seiName) throws BootStarterCxfException
BootStarterCxfExceptionpublic Class searchServiceEndpointInterface() throws BootStarterCxfException
BootStarterCxfExceptionpublic Service searchAndInstantiateWebServiceClient() throws BootStarterCxfException
BootStarterCxfExceptionCopyright © 2019. All rights reserved.