org.ow2.util.archive.api
Interface IArchiveFactory<Type>

Type Parameters:
Type - the type supported by this factory.

public interface IArchiveFactory<Type>

Interface used by the Archive Manager to build implementation of EZBArchive.

Author:
Florent Benoit

Method Summary
 IArchive create(Type object)
          Creates an EZBArchive object for the given object.
 java.lang.Class<Type> getSupportedClass()
           
 

Method Detail

create

IArchive create(Type object)
Creates an EZBArchive object for the given object.

Parameters:
object - the object that this factory can manage.
Returns:
a new EZBArchive instance.

getSupportedClass

java.lang.Class<Type> getSupportedClass()
Returns:
the type supported by the factory


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.