protected Configuration[] loadConfigurations() throws Exception
    {
        String[] names = _configurationClassNames;
        
        //if this webapp does not have its own set of configurators, use the defaults
        if (null==names)
            names = ((Server)getHttpServer()).getWebApplicationConfigurationClassNames();
        
        if (null!=names)
        {
            //instantiate instances for each
            Object[] nullArgs = new Object[0];
            Configuration[] configurations = new Configuration[names.length];
            for (int i=0; i< names.length; i++)
            {
                configurations[i] =
                    (Configuration)Loader.loadClass(WebApplicationContext.class, names[i]).getConstructors()[0].newInstance(nullArgs);
                if (log.isDebugEnabled()){log.debug("Loaded instance of "+names[i]);};
            }
            return configurations;
        }
        else
            return new Configuration[0];
    }
protected Configuration [ ] loadConfigurations ( ) throws Exception { String [ ] names = _configurationClassNames ; if ( null == names ) names = ( ( Server ) getHttpServer ( ) ) . getWebApplicationConfigurationClassNames ( ) ; if ( null != names ) { Object [ ] nullArgs = new Object [ 0 ] ; Configuration [ ] configurations = new Configuration [ names . length ] ; for ( int i = 0 ; i < names . length ; i ++ ) { configurations [ i ] = ( Configuration ) Loader . loadClass ( WebApplicationContext . class , names [ i ] ) . getConstructors ( ) [ 0 ] . newInstance ( nullArgs ) ; if ( log . isDebugEnabled ( ) ) { log . debug ( "Loaded instance of " + names [ i ] ) ; } ; } return configurations ; } else return new Configuration [ 0 ] ; }
/* ------------------------------------------------------------