org.apache.jackrabbit.spi
Interface RepositoryServiceFactory

All Known Implementing Classes:
Spi2davexRepositoryServiceFactory, Spi2davRepositoryServiceFactory, Spi2jcrRepositoryServiceFactory

public interface RepositoryServiceFactory

Factory for creating RepositoryService instances. Implementations must provide a no argument constructor.


Method Summary
 RepositoryService createRepositoryService(Map<?,?> parameters)
          Create a new RepositoryService.
 

Method Detail

createRepositoryService

RepositoryService createRepositoryService(Map<?,?> parameters)
                                          throws RepositoryException
Create a new RepositoryService. If the factory does not understand the passed parameters it must return null.

Parameters:
parameters - implementation specific set of parameters
Returns:
a fresh RepositoryService instance or null.
Throws:
RepositoryException - If there was an error creating the RepositoryService instance


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.