*
* @see org.pentaho.platform.plugin.services.pluginmgr.IServiceManager#initServices()
*/
public void initServices() throws ServiceInitializationException {
getConfigurator().setSession( PentahoSessionHolder.getSession() );
AxisConfigurator axisConfigurator = getConfigurator();
// create the axis configuration and make it accessible to content generators via static member
ConfigurationContext configContext = null;
try {
configContext = ConfigurationContextFactory.createConfigurationContext( axisConfigurator );
} catch ( AxisFault e ) {
throw new ServiceInitializationException( e );
}
configContext.setProperty( Constants.CONTAINER_MANAGED, Constants.VALUE_TRUE );
currentAxisConfigContext = configContext;
currentAxisConfiguration = configContext.getAxisConfiguration();
// now load the services
axisConfigurator.loadServices();
}