Top Description Constructors Methods
com.sun.enterprise.module

public abstract Class RepositoryFactory

extends Object
Class Inheritance
Imports
java.net.URI

Factory to create repositories.
Author
Jerome Dochez

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract Repository
createRepository(Repository
the parent Repository to delegate module resolution
parent
,
String
the repository name
name
,
URI
the location of the repository
source
)

Creates a new Repository with a parent (for delegating module resolutions) and a name.

public abstract Repository
createRepository(String
the repository name
name
,
URI
the location of the repository
source
)

Creates a new Repository.

public abstract boolean
handleType(String
repository type
type
)

Returns true if this factory can handle this type of repository

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

RepositoryFactoryback to summary
public RepositoryFactory()

Method Detail

createRepositoryback to summary
public abstract Repository createRepository(Repository parent, String name, URI source)

Creates a new Repository with a parent (for delegating module resolutions) and a name. The URI source identifies the repository location.

Parameters
parent:Repository

the parent Repository to delegate module resolution

name:String

the repository name

source:URI

the location of the repository

createRepositoryback to summary
public abstract Repository createRepository(String name, URI source)

Creates a new Repository. The URI source identifies the repository location.

Parameters
name:String

the repository name

source:URI

the location of the repository

handleTypeback to summary
public abstract boolean handleType(String type)

Returns true if this factory can handle this type of repository

Parameters
type:String

repository type