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, resolveEndpointConfig
public BasicConfigResolver(org.jboss.wsf.spi.deployment.ArchiveDeployment dep, Class<?> implementorClass)
protected URL getDefaultConfigFile(String defaultConfigFileName)
AbstractCommonConfigResolver
getDefaultConfigFile
in class AbstractCommonConfigResolver
defaultConfigFileName
- The name of the config file to look forprotected URL getConfigFile(String configFileName) throws IOException
AbstractCommonConfigResolver
getConfigFile
in class AbstractCommonConfigResolver
configFileName
- The name of the config file to look forIOException
protected String getEndpointClassName()
AbstractCommonConfigResolver
getEndpointClassName
in class AbstractCommonConfigResolver
protected <T extends Annotation> boolean isEndpointClassAnnotated(Class<T> annotation)
AbstractCommonConfigResolver
isEndpointClassAnnotated
in class AbstractCommonConfigResolver
annotation
- The annotation to look forprotected String getEndpointConfigNameFromAnnotation()
AbstractCommonConfigResolver
getEndpointConfigNameFromAnnotation
in class AbstractCommonConfigResolver
protected String getEndpointConfigFileFromAnnotation()
AbstractCommonConfigResolver
getEndpointConfigFileFromAnnotation
in class AbstractCommonConfigResolver
protected String getEndpointConfigNameOverride()
AbstractCommonConfigResolver
getEndpointConfigNameOverride
in class AbstractCommonConfigResolver
protected String getEndpointConfigFileOverride()
AbstractCommonConfigResolver
getEndpointConfigFileOverride
in class AbstractCommonConfigResolver
Copyright © 2018 JBoss, by Red Hat. All rights reserved.