Package org.xwiki.extension.repository
Class AbstractExtensionRepositoryFactory
- java.lang.Object
-
- org.xwiki.extension.repository.AbstractExtensionRepositoryFactory
-
- All Implemented Interfaces:
ExtensionRepositoryFactory
public abstract class AbstractExtensionRepositoryFactory extends Object implements ExtensionRepositoryFactory
Base class for all implementations ofExtensionRepositoryFactory
.- Since:
- 4.3M1
- Version:
- $Id: fcc0f3aa25b86807c887da4cd3e9ffdcdcb5f7ef $
-
-
Constructor Summary
Constructors Constructor Description AbstractExtensionRepositoryFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionRepository
createRepository(ExtensionRepositoryId repositoryId)
Create a newExtensionRepository
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xwiki.extension.repository.ExtensionRepositoryFactory
createRepository
-
-
-
-
Method Detail
-
createRepository
public ExtensionRepository createRepository(ExtensionRepositoryId repositoryId) throws ExtensionRepositoryException
Description copied from interface:ExtensionRepositoryFactory
Create a newExtensionRepository
.- Specified by:
createRepository
in interfaceExtensionRepositoryFactory
- Parameters:
repositoryId
- the repository identifier- Returns:
- the
ExtensionRepository
- Throws:
ExtensionRepositoryException
- failed to create aExtensionRepository
for the provided identifier
-
-