private Properties getRemoteConfigurationProperties ( ) { ClassLoader ctcl = AccessController . doPrivileged ( new PrivilegedAction < ClassLoader > ( ) { public ClassLoader run ( ) { return Thread . currentThread ( ) . getContextClassLoader ( ) ; } } ) ; try { if ( log . isDebugEnabled ( ) ) { log . debug ( "Loading Citrus remote extension properties ..." ) ; } Properties props = new Properties ( ) ; InputStream inputStream = ctcl . getResourceAsStream ( CitrusExtensionConstants . CITRUS_REMOTE_PROPERTIES ) ; if ( inputStream != null ) { props . load ( inputStream ) ; } if ( log . isDebugEnabled ( ) ) { log . debug ( "Successfully loaded Citrus remote extension properties" ) ; } return props ; } catch ( IOException e ) { log . warn ( "Unable to load Citrus remote extension properties" ) ; return new Properties ( ) ; } }
Reads configuration properties from remote property file that has been added to the auxiliary archive .