com.sun.enterprise.deployment.archivist
Class ArchivistFactory

java.lang.Object
  extended by com.sun.enterprise.deployment.archivist.ArchivistFactory
All Implemented Interfaces:
ContractProvider, org.jvnet.hk2.component.PostConstruct

@Service
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class ArchivistFactory
extends java.lang.Object
implements ContractProvider, org.jvnet.hk2.component.PostConstruct

This factory class is responsible for creating Archivists

Author:
Jerome Dochez

Constructor Summary
ArchivistFactory()
           
 
Method Summary
 Archivist getArchivist(ReadableArchive archive, java.lang.ClassLoader cl)
           
 Archivist getArchivist(XModuleType moduleType)
           
 java.util.List<ExtensionsArchivist> getExtensionsArchists(XModuleType moduleType)
           
 void postConstruct()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchivistFactory

public ArchivistFactory()
Method Detail

getArchivist

public Archivist getArchivist(ReadableArchive archive,
                              java.lang.ClassLoader cl)
                       throws java.io.IOException
Throws:
java.io.IOException

getArchivist

public Archivist getArchivist(XModuleType moduleType)
                       throws java.io.IOException
Throws:
java.io.IOException

getExtensionsArchists

public java.util.List<ExtensionsArchivist> getExtensionsArchists(XModuleType moduleType)

postConstruct

public void postConstruct()
Specified by:
postConstruct in interface org.jvnet.hk2.component.PostConstruct


Copyright © 2012 GlassFish Community. All Rights Reserved.