public class BasicConfigResolver extends AbstractCommonConfigResolver
| Constructor and Description |
|---|
BasicConfigResolver(org.jboss.wsf.spi.deployment.ArchiveDeployment dep,
Class<?> implementorClass) |
| Modifier and Type | Method and Description |
|---|---|
protected URL |
getConfigFile(String configFileName)
Returns the URL of the config file for the given name; this can either be in the root of the deployment
or at the same level of the endpoint class file (a sibling of it)
|
protected URL |
getDefaultConfigFile(String defaultConfigFileName)
Returns the URL of the specified default config file; this can either be in the root of the deployment
or at the same level of the endpoint class file (a sibling of it)
|
protected String |
getEndpointClassName()
Gets the FQN of the endpoint class whose config is to be resolved by this class
|
protected String |
getEndpointConfigFileFromAnnotation()
Returns the config file specified on the @EndpointConfig annotation (if any) on
the current endpoint
|
protected String |
getEndpointConfigFileOverride()
Returns the config file value coming from deployment descriptor
|
protected String |
getEndpointConfigNameFromAnnotation()
Returns the config name specified on the @EndpointConfig annotation (if any) on
the current endpoint
|
protected String |
getEndpointConfigNameOverride()
Returns the config name value coming from deployment descriptor
|
protected <T extends Annotation> |
isEndpointClassAnnotated(Class<T> annotation)
Returns true or false depending on the current endpoint class being annotated or
not with the specified annotation.
|
getAllHandlers, getServerConfig, resolveEndpointConfigpublic BasicConfigResolver(org.jboss.wsf.spi.deployment.ArchiveDeployment dep,
Class<?> implementorClass)
protected URL getDefaultConfigFile(String defaultConfigFileName)
AbstractCommonConfigResolvergetDefaultConfigFile in class AbstractCommonConfigResolverdefaultConfigFileName - The name of the config file to look forprotected URL getConfigFile(String configFileName) throws IOException
AbstractCommonConfigResolvergetConfigFile in class AbstractCommonConfigResolverconfigFileName - The name of the config file to look forIOExceptionprotected String getEndpointClassName()
AbstractCommonConfigResolvergetEndpointClassName in class AbstractCommonConfigResolverprotected <T extends Annotation> boolean isEndpointClassAnnotated(Class<T> annotation)
AbstractCommonConfigResolverisEndpointClassAnnotated in class AbstractCommonConfigResolverannotation - The annotation to look forprotected String getEndpointConfigNameFromAnnotation()
AbstractCommonConfigResolvergetEndpointConfigNameFromAnnotation in class AbstractCommonConfigResolverprotected String getEndpointConfigFileFromAnnotation()
AbstractCommonConfigResolvergetEndpointConfigFileFromAnnotation in class AbstractCommonConfigResolverprotected String getEndpointConfigNameOverride()
AbstractCommonConfigResolvergetEndpointConfigNameOverride in class AbstractCommonConfigResolverprotected String getEndpointConfigFileOverride()
AbstractCommonConfigResolvergetEndpointConfigFileOverride in class AbstractCommonConfigResolverCopyright © 2016 JBoss, by Red Hat. All rights reserved.