java.lang.Object
com.sun.enterprise.module.RepositoryFactory
Factory to create repositories.
- Author:
- Jerome Dochez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract RepositorycreateRepository(Repository parent, String name, URI source) Creates a newRepositorywith a parent (for delegating module resolutions) and a name.abstract RepositorycreateRepository(String name, URI source) Creates a newRepository.abstract booleanhandleType(String type) Returns true if this factory can handle this type of repository
-
Constructor Details
-
RepositoryFactory
public RepositoryFactory()
-
-
Method Details
-
handleType
Returns true if this factory can handle this type of repository- Parameters:
type- repository type
-
createRepository
Creates a newRepositorywith a parent (for delegating module resolutions) and a name. The URI source identifies the repository location.- Parameters:
parent- the parentRepositoryto delegate module resolutionname- the repository namesource- the location of the repository
-
createRepository
Creates a newRepository. The URI source identifies the repository location.- Parameters:
name- the repository namesource- the location of the repository
-