org.jboss.system.server.profileservice.repository
Class BasicProfileFactory
java.lang.Object
org.jboss.system.server.profileservice.repository.AbstractProfileFactory
org.jboss.system.server.profileservice.repository.BasicProfileFactory
- All Implemented Interfaces:
- org.jboss.profileservice.spi.ProfileFactory
public class BasicProfileFactory
- extends AbstractProfileFactory
- implements org.jboss.profileservice.spi.ProfileFactory
- Version:
- $Revision$
- Author:
- Emanuel Muckenhuber
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.profileservice.spi.ProfileFactory |
createProfile |
types
public static final Collection<String> types
- The handled meta data types.
BasicProfileFactory
public BasicProfileFactory()
getTypes
public String[] getTypes()
- Specified by:
getTypes
in interface org.jboss.profileservice.spi.ProfileFactory
getProfileRepository
public org.jboss.profileservice.spi.ProfileRepository getProfileRepository()
setProfileRepository
public void setProfileRepository(org.jboss.profileservice.spi.ProfileRepository profileRepository)
createProfile
public org.jboss.profileservice.spi.Profile createProfile(org.jboss.profileservice.spi.ProfileKey key,
org.jboss.profileservice.spi.metadata.ProfileMetaData metaData,
List<org.jboss.profileservice.spi.ProfileKey> subProfiles)
throws Exception
- Description copied from class:
AbstractProfileFactory
- This is used by the BoostrapProfileFactory, as it already created the
subProfiles list.
- Specified by:
createProfile
in class AbstractProfileFactory
- Parameters:
key
- the profile keymetaData
- the profile meta datasubProfiles
- the sub profiles list
- Returns:
- the profile
- Throws:
Exception
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.