org.ow2.util.ee.deploy.impl.archive
Class DefaultArchiveFactory

java.lang.Object
  extended by org.ow2.util.ee.deploy.impl.archive.DefaultArchiveFactory
All Implemented Interfaces:
org.ow2.util.ee.deploy.api.archive.ArchiveFactory<java.io.File>

public class DefaultArchiveFactory
extends java.lang.Object
implements org.ow2.util.ee.deploy.api.archive.ArchiveFactory<java.io.File>

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

Author:
Florent Benoit

Constructor Summary
DefaultArchiveFactory()
           
 
Method Summary
 org.ow2.util.ee.deploy.api.archive.IArchive 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
 

Constructor Detail

DefaultArchiveFactory

public DefaultArchiveFactory()
Method Detail

create

public org.ow2.util.ee.deploy.api.archive.IArchive create(java.io.File file)
Creates an EZBArchive object for the given object.

Specified by:
create in interface org.ow2.util.ee.deploy.api.archive.ArchiveFactory<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


Copyright © 2007 OW2 Consortium. All Rights Reserved.