Package org.jboss.shrinkwrap.impl.base
Class ExtensionWrapper
java.lang.Object
org.jboss.shrinkwrap.impl.base.ExtensionWrapper
ExtensionWrapper Wrapper used in the extensionMapping of
ExtensionLoader
Initialized
in ServiceExtensionLoader.loadExtensionMapping(Class)
- Version:
- $Revision: $
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Class
<? extends Assignable> (package private) final String
-
Constructor Summary
ConstructorsConstructorDescriptionExtensionWrapper
(String implementingClassName, Map<String, String> properties, Class<? extends Assignable> extension) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String key) Gets the value for the given key in the properties map.
-
Field Details
-
properties
-
implementingClassName
-
extension
-
-
Constructor Details
-
ExtensionWrapper
-
-
Method Details
-
getProperty
Gets the value for the given key in the properties map. If the property is not found, an exception is thrown.- Parameters:
key
- the key to look up value for- Returns:
- value of the property
- Throws:
RuntimeException
- if the property is not found
-