org.jboss.profileservice.spi
Interface DeploymentRepositoryFactory


public interface DeploymentRepositoryFactory

A factory for DeploymentRepository.

Version:
$Revision:$
Author:
Scott.Stark@jboss.org, Emanuel Muckenhuber

Method Summary
 DeploymentRepository createDeploymentRepository(ProfileKey key, ProfileSourceMetaData metaData)
          Create a DeploymentRepository based on a type.
 String[] getTypes()
          The repository types.
 

Method Detail

getTypes

String[] getTypes()
The repository types.

Returns:
the type

createDeploymentRepository

DeploymentRepository createDeploymentRepository(ProfileKey key,
                                                ProfileSourceMetaData metaData)
                                                throws Exception
Create a DeploymentRepository based on a type.

Parameters:
repositoryType - the repository type
metaData - the profile source meta data
Returns:
the deploymentRepository
Throws:
Exception - for any error


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.