org.dspace.sword
Class SWORDIngesterFactory

java.lang.Object
  extended by org.dspace.sword.SWORDIngesterFactory

public class SWORDIngesterFactory
extends Object

Factory class which will mint objects conforming to the SWORDIngester interface.

Author:
Richard Jones

Constructor Summary
SWORDIngesterFactory()
           
 
Method Summary
static SWORDIngester getInstance(Context context, Deposit deposit)
          Generate an object which conforms to the SWORDIngester interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWORDIngesterFactory

public SWORDIngesterFactory()
Method Detail

getInstance

public static SWORDIngester getInstance(Context context,
                                        Deposit deposit)
                                 throws DSpaceSWORDException
Generate an object which conforms to the SWORDIngester interface. This Factory method may use the given DSpace context and the given SWORD Deposit request to decide on the most appropriate implementation of the interface to return. The current implementation is capable only of returning the single implementation SWORDMETSIngester.

Parameters:
context -
deposit -
Returns:
Throws:
DSpaceSWORDException


Copyright © 2008 The DSpace Foundation. All Rights Reserved.