protected InputStream getConfiguration( String subname ) throws Exception { return getResourceAsStream( getConfigurationName( subname ) ); }
String resource = getConfigurationName( null );
protected InputStream getConfiguration( String subname ) throws Exception { return getResourceAsStream( getConfigurationName( subname ) ); }
String resource = getConfigurationName( null );
private final ContainerConfiguration config() { final ContainerConfiguration config = new DefaultContainerConfiguration(); // Apply current test context config.setName( "test" ).setContext( context() ); // Find per-test components XML String path = getCustomConfigurationName(); if ( null == path ) { path = getConfigurationName( null ); } config.setContainerConfiguration( path ); // Per-test config customization customizeContainerConfiguration( config ); return config; }