new MPSServletApplicationContextFactory() );
applicationRegistry.registerApplication( "mps", arc );
try {
Volantis volantisBean = Volantis.getInstance();
if( volantisBean == null ) {
throw new IllegalStateException
( "Volantis bean has not been initialised" );
}
MpsPluginConfiguration config =
(MpsPluginConfiguration)volantisBean.getApplicationPluginConfiguration( "MPS" );
baseUrl = config.getInternalBaseUrl();
if( logger.isDebugEnabled() ) {
logger.debug( "MPS internal-base-url: " + baseUrl );
}