new PrivilegedAction() {
public Object run() {
ClassLoaders loaders =
ClassLoaders.getAppLoaders(mySpi, myFactory, true);
NameDiscoverers nameDiscoverers = new NameDiscoverers();
nameDiscoverers.addResourceNameDiscover(new DiscoverOldNamesInManagedProperties());
nameDiscoverers.addResourceNameDiscover(new DiscoverNamesInManagedProperties());
nameDiscoverers.addResourceNameDiscover(new DiscoverServiceNames(loaders));
nameDiscoverers.addResourceNameDiscover(new DiscoverConstNames(
new String[] {
"org.apache.axis.configuration.EngineConfigurationFactoryServlet",
"org.apache.axis.configuration.EngineConfigurationFactoryDefault",
})
);
ResourceNameIterator it = nameDiscoverers.findResourceNames(mySpi.getName());
ResourceClassIterator services =
new DiscoverClasses(loaders).findResourceClasses(it);
EngineConfigurationFactory factory = null;