public abstract class AbstractCommonConfigResolver extends Object
Constructor and Description |
---|
AbstractCommonConfigResolver() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAllHandlers(org.jboss.wsf.spi.metadata.config.EndpointConfig config)
Returns a set of full qualified class names of the handlers from the specified endpoint config
|
protected abstract 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 abstract 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 abstract String |
getEndpointClassName()
Gets the FQN of the endpoint class whose config is to be resolved by this class
|
protected abstract String |
getEndpointConfigFileFromAnnotation()
Returns the config file specified on the @EndpointConfig annotation (if any) on
the current endpoint
|
protected abstract String |
getEndpointConfigFileOverride()
Returns the config file value coming from deployment descriptor
|
protected abstract String |
getEndpointConfigNameFromAnnotation()
Returns the config name specified on the @EndpointConfig annotation (if any) on
the current endpoint
|
protected abstract String |
getEndpointConfigNameOverride()
Returns the config name value coming from deployment descriptor
|
protected org.jboss.wsf.spi.management.ServerConfig |
getServerConfig() |
protected abstract <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.
|
org.jboss.wsf.spi.metadata.config.EndpointConfig |
resolveEndpointConfig()
Returns the EndpointConfig resolved for the current endpoint
|
public org.jboss.wsf.spi.metadata.config.EndpointConfig resolveEndpointConfig()
public Set<String> getAllHandlers(org.jboss.wsf.spi.metadata.config.EndpointConfig config)
The
- config to get the handler class names ofprotected abstract String getEndpointClassName()
protected abstract <T extends Annotation> boolean isEndpointClassAnnotated(Class<T> annotation)
annotation
- The annotation to look forprotected abstract String getEndpointConfigNameFromAnnotation()
protected abstract String getEndpointConfigFileFromAnnotation()
protected abstract String getEndpointConfigNameOverride()
protected abstract String getEndpointConfigFileOverride()
protected abstract URL getConfigFile(String configFileName) throws IOException
configFileName
- The name of the config file to look forIOException
protected abstract URL getDefaultConfigFile(String defaultConfigFileName)
defaultConfigFileName
- The name of the config file to look forprotected org.jboss.wsf.spi.management.ServerConfig getServerConfig()
Copyright © 2016 JBoss, by Red Hat. All rights reserved.