org.jboss.profileservice.spi
Interface ProfileFactory


public interface ProfileFactory

The profile factory.

Version:
$Revision$
Author:
Emanuel Muckenhuber

Method Summary
 Profile createProfile(ProfileKey key, ProfileMetaData metaData)
          Create a profile based on the meta data.
 String[] getTypes()
          The profile types.
 

Method Detail

getTypes

String[] getTypes()
The profile types.

Returns:
the type.

createProfile

Profile createProfile(ProfileKey key,
                      ProfileMetaData metaData)
                      throws Exception
Create a profile based on the meta data.

Parameters:
key - the profile key
metaData - the profile meta data
Returns:
the profile
Throws:
Exception


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