Package org.jboss.arquillian.spring.configuration

Examples of org.jboss.arquillian.spring.configuration.SpringExtensionRemoteConfiguration


     *
     * @param beforeSuite the event fired before execution of test suite
     */
    public void initRemoteConfiguration(@Observes BeforeSuite beforeSuite) {

        SpringExtensionRemoteConfiguration config = loadConfigurationFromProperties();

        if (config != null) {

            remoteConfiguration.set(config);
        }
View Full Code Here


     *
     * @param archive the auxiliary archive
     */
    protected void appendProperties(JavaArchive archive) {

        SpringExtensionRemoteConfiguration remoteConfig = createRemoteConfiguration();

        archive.addAsResource(new StringAsset(SpringExtensionRemoteConfigurationUtils.toString(remoteConfig)),
                SpringExtensionRemoteConfigurationUtils.SPRING_REMOTE_PROPERTIES);
    }
View Full Code Here

     * <p>Creates the remote configuration.</p>
     *
     * @return the remote configuration
     */
    private SpringExtensionRemoteConfiguration createRemoteConfiguration() {
        SpringExtensionRemoteConfiguration remoteConfig = new SpringExtensionRemoteConfiguration();
        remoteConfig.setCustomContextClass(configuration.get().getCustomContextClass());
        remoteConfig.setCustomAnnotationContextClass(configuration.get().getCustomAnnotationContextClass());
        return remoteConfig;
    }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.spring.configuration.SpringExtensionRemoteConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.