org.jboss.system.server.profileservice.repository
Class AbstractProfileFactory
java.lang.Object
org.jboss.system.server.profileservice.repository.AbstractProfileFactory
- All Implemented Interfaces:
- org.jboss.profileservice.spi.ProfileFactory
- Direct Known Subclasses:
- BasicProfileFactory, FilteredProfileFactory, TypedProfileFactory
public abstract class AbstractProfileFactory
- extends Object
- implements org.jboss.profileservice.spi.ProfileFactory
A abstract profile factory.
- Version:
- $Revision: 86174 $
- 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 |
getTypes |
AbstractProfileFactory
public AbstractProfileFactory()
createProfile
public abstract 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
- This is used by the BoostrapProfileFactory, as it already created the
subProfiles list.
- Parameters:
key
- the profile keymetaData
- the profile meta datasubProfiles
- the sub profiles list
- Returns:
- the profile
- Throws:
Exception
createProfile
public org.jboss.profileservice.spi.Profile createProfile(org.jboss.profileservice.spi.ProfileKey key,
org.jboss.profileservice.spi.metadata.ProfileMetaData metaData)
throws Exception
- Specified by:
createProfile
in interface org.jboss.profileservice.spi.ProfileFactory
- Throws:
Exception
createSubProfiles
protected List<org.jboss.profileservice.spi.ProfileKey> createSubProfiles(org.jboss.profileservice.spi.metadata.ProfileMetaData metaData)
createKey
protected org.jboss.profileservice.spi.ProfileKey createKey(org.jboss.profileservice.spi.metadata.ProfileKeyMetaData metaData)
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.