Methods Summary |
---|
public static Archivist | getArchivistForArchive(java.io.File jarFileOrDirectory)
return defaultArchivists.getArchivistForArchive(jarFileOrDirectory);
|
public static Archivist | getArchivistForArchive(java.lang.String path)
return defaultArchivists.getArchivistForArchive(path);
|
public static Archivist | getArchivistForArchive(com.sun.enterprise.deployment.deploy.shared.AbstractArchive archive)
return defaultArchivists.getArchivistForArchive(archive);
|
public static Archivist | getArchivistForType(javax.enterprise.deploy.shared.ModuleType type)
return defaultArchivists.getArchivistForType(type);
|
public static PluggableArchivists | getPluggableArchivists()
return defaultArchivists;
|
private static PluggableArchivistsHelper | initDefaultArchivists()
// initialize our default Archivists helper singleton
// instance.
PluggableArchivistsHelper result = new PluggableArchivistsHelper();
result.registerArchivist(new ApplicationArchivist());
result.registerArchivist(new WebArchivist());
result.registerArchivist(new ConnectorArchivist());
result.registerArchivist(new AppClientArchivist());
result.registerArchivist(new EjbArchivist());
return result;
|
public static void | registerArchivist(Archivist archivist)register a new type of archivist
defaultArchivists.registerArchivist(archivist);
|