org.jboss.testharness.impl
Class PropertiesBasedConfigurationBuilder<T extends Configuration>

java.lang.Object
  extended by org.jboss.testharness.impl.PropertiesBasedConfigurationBuilder<T>
All Implemented Interfaces:
ConfigurationBuilder

public class PropertiesBasedConfigurationBuilder<T extends Configuration>
extends java.lang.Object
implements ConfigurationBuilder


Field Summary
 
Fields inherited from interface org.jboss.testharness.api.ConfigurationBuilder
PROPERTY_NAME
 
Constructor Summary
PropertiesBasedConfigurationBuilder(T configuration)
           
 
Method Summary
 T getConfiguration()
           
protected  PropertiesManager getDeploymentProperties()
           
protected
<T> T
getInstanceValue(java.lang.String propertyName, java.lang.Class<T> expectedType, boolean required)
           
 ConfigurationBuilder init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesBasedConfigurationBuilder

public PropertiesBasedConfigurationBuilder(T configuration)
Method Detail

init

public ConfigurationBuilder init()
Specified by:
init in interface ConfigurationBuilder

getInstanceValue

protected <T> T getInstanceValue(java.lang.String propertyName,
                                 java.lang.Class<T> expectedType,
                                 boolean required)

getConfiguration

public T getConfiguration()
Specified by:
getConfiguration in interface ConfigurationBuilder

getDeploymentProperties

protected PropertiesManager getDeploymentProperties()


Copyright © 2009. All Rights Reserved.