|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.enterprise.module.RepositoryFactory
public abstract class RepositoryFactory
Factory to create repositories.
Constructor Summary | |
---|---|
RepositoryFactory()
|
Method Summary | |
---|---|
abstract Repository |
createRepository(Repository parent,
String name,
URI source)
Creates a new Repository with a parent (for delegating
module resolutions) and a name. |
abstract Repository |
createRepository(String name,
URI source)
Creates a new Repository . |
abstract boolean |
handleType(String type)
Returns true if this factory can handle this type of repository |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryFactory()
Method Detail |
---|
public abstract boolean handleType(String type)
type
- repository typepublic abstract Repository createRepository(Repository parent, String name, URI source)
Repository
with a parent (for delegating
module resolutions) and a name. The URI source identifies the repository
location.
parent
- the parent Repository
to delegate module
resolutionname
- the repository namesource
- the location of the repositorypublic abstract Repository createRepository(String name, URI source)
Repository
. The URI source identifies the
repository location.
name
- the repository namesource
- the location of the repository
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |