Class Extension
- java.lang.Object
-
- org.jboss.jca.common.api.metadata.common.Extension
-
- All Implemented Interfaces:
Serializable,JCAMetadata,ValidatableMetadata
public final class Extension extends Object implements JCAMetadata, ValidatableMetadata
A JdbcAdapterExtension.- Author:
- Stefano Maestri
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtension.AttributeA Attribute.static classExtension.TagA Tag.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ClassLoadergetClassLoader()Get the classLoader.StringgetClassName()Get the className.Map<String,String>getConfigPropertiesMap()Get the configPropertiesMap.inthashCode()voidvalidate()Validate this metadata according validation required by specification
-
-
-
Constructor Detail
-
Extension
public Extension(String className, ClassLoader classLoader, Map<String,String> configPropertiesMap) throws ValidateException
Create a new JdbcAdapterExtension.- Parameters:
className- the classNameconfigPropertiesMap- configPropertiesMap- Throws:
ValidateException- ValidateException
-
-
Method Detail
-
getClassName
public final String getClassName()
Get the className.- Returns:
- the className.
-
getClassLoader
public final ClassLoader getClassLoader()
Get the classLoader.- Returns:
- the classLoader
-
getConfigPropertiesMap
public final Map<String,String> getConfigPropertiesMap()
Get the configPropertiesMap.- Returns:
- the configPropertiesMap.
-
validate
public void validate() throws ValidateExceptionDescription copied from interface:ValidatableMetadataValidate this metadata according validation required by specification- Specified by:
validatein interfaceValidatableMetadata- Throws:
ValidateException- in case of validation fail
-
-