Class AbstractRepositoryService
- java.lang.Object
-
- org.jboss.set.aphrodite.repository.services.common.AbstractRepositoryService
-
public abstract class AbstractRepositoryService extends Object
- Author:
- Ryan Emerson
-
-
Field Summary
Fields Modifier and Type Field Description protected URLbaseUrlprotected RepositoryConfigconfigprotected RepositoryTypeREPOSITORY_TYPE
-
Constructor Summary
Constructors Constructor Description AbstractRepositoryService(RepositoryType REPOSITORY_TYPE)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcheckHost(URL url)URLgetBaseUrl()protected abstract org.apache.commons.logging.LoggetLog()booleaninit(AphroditeConfig aphroditeConfig)booleaninit(RepositoryConfig config)booleanurlExists(URL url)
-
-
-
Field Detail
-
REPOSITORY_TYPE
protected final RepositoryType REPOSITORY_TYPE
-
config
protected RepositoryConfig config
-
baseUrl
protected URL baseUrl
-
-
Constructor Detail
-
AbstractRepositoryService
public AbstractRepositoryService(RepositoryType REPOSITORY_TYPE)
-
-
Method Detail
-
getLog
protected abstract org.apache.commons.logging.Log getLog()
-
init
public boolean init(AphroditeConfig aphroditeConfig)
-
init
public boolean init(RepositoryConfig config)
-
urlExists
public boolean urlExists(URL url)
-
checkHost
protected void checkHost(URL url) throws NotFoundException
- Throws:
NotFoundException
-
getBaseUrl
public URL getBaseUrl()
-
-