This project has retired. For details please refer to its
Attic page.
RepositoryContentFactory
org.apache.maven.archiva.repository
Class RepositoryContentFactory
java.lang.Object
org.apache.maven.archiva.repository.RepositoryContentFactory
- All Implemented Interfaces:
- org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.registry.RegistryListener
public class RepositoryContentFactory
- extends java.lang.Object
- implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.registry.RegistryListener, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
RepositoryContentRequest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryContentFactory
public RepositoryContentFactory()
getManagedRepositoryContent
public ManagedRepositoryContent getManagedRepositoryContent(java.lang.String repoId)
throws RepositoryNotFoundException,
RepositoryException
- Get the ManagedRepositoryContent object for the repository Id specified.
- Parameters:
repoId
- the repository id to fetch.
- Returns:
- the ManagedRepositoryContent object associated with the repository id.
- Throws:
RepositoryNotFoundException
- if the repository id does not exist within the configuration.
RepositoryException
- the repository content object cannot be loaded due to configuration issue.
getRemoteRepositoryContent
public RemoteRepositoryContent getRemoteRepositoryContent(java.lang.String repoId)
throws RepositoryNotFoundException,
RepositoryException
- Throws:
RepositoryNotFoundException
RepositoryException
contextualize
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
- Specified by:
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Throws:
org.codehaus.plexus.context.ContextException
afterConfigurationChange
public void afterConfigurationChange(org.codehaus.plexus.registry.Registry registry,
java.lang.String propertyName,
java.lang.Object propertyValue)
- Specified by:
afterConfigurationChange
in interface org.codehaus.plexus.registry.RegistryListener
beforeConfigurationChange
public void beforeConfigurationChange(org.codehaus.plexus.registry.Registry registry,
java.lang.String propertyName,
java.lang.Object propertyValue)
- Specified by:
beforeConfigurationChange
in interface org.codehaus.plexus.registry.RegistryListener
initialize
public void initialize()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
- Specified by:
initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
- Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException