org.objectweb.easybeans.deployable.archive
Class DefaultArchiveFactory

java.lang.Object
  extended by org.objectweb.easybeans.deployable.archive.DefaultArchiveFactory
All Implemented Interfaces:
EZBArchiveFactory<java.io.File>

public class DefaultArchiveFactory
extends java.lang.Object
implements EZBArchiveFactory<java.io.File>

Default factory that manages the file (jar file or directories).

Author:
Florent Benoit

Field Summary
private  JLog logger
          Logger.
 
Constructor Summary
DefaultArchiveFactory()
           
 
Method Summary
 EZBArchive create(java.io.File file)
          Creates an EZBArchive object for the given object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private JLog logger
Logger.

Constructor Detail

DefaultArchiveFactory

public DefaultArchiveFactory()
Method Detail

create

public EZBArchive create(java.io.File file)
Creates an EZBArchive object for the given object.

Specified by:
create in interface EZBArchiveFactory<java.io.File>
Parameters:
file - the file that this factory can manage.
Returns:
a new EZBArchive instance or null if it's not an archive