throw new IllegalArgumentException("Null deployment name");
if (loaderMetaData == null)
throw new IllegalArgumentException("Null loader repository metadata");
LoaderRepositoryConfig repositoryConfig = new LoaderRepositoryConfig();
repositoryConfig.repositoryClassName = loaderMetaData.getLoaderRepositoryClass();
if (repositoryConfig.repositoryClassName == null || repositoryConfig.repositoryClassName.length() == 0)
repositoryConfig.repositoryClassName = ServerConstants.DEFAULT_SCOPED_REPOSITORY_CLASS;