if (factoryClassName == null){
return new ArchiveFactoryImpl();
}
try{
if (factoryClassName != null){
ArchiveFactory factory = null;
if (loader != null) {
Class archiveClass = loader.loadClass(factoryClassName);
if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){
try {
factory = (ArchiveFactory)AccessController.doPrivileged(new PrivilegedNewInstanceFromClass(archiveClass));