org.jboss.system.server.profileservice.repository
Class AbstractProfileFactory

java.lang.Object
  extended by 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

Constructor Summary
AbstractProfileFactory()
           
 
Method Summary
protected  org.jboss.profileservice.spi.ProfileKey createKey(org.jboss.profileservice.spi.metadata.ProfileKeyMetaData metaData)
           
 org.jboss.profileservice.spi.Profile createProfile(org.jboss.profileservice.spi.ProfileKey key, org.jboss.profileservice.spi.metadata.ProfileMetaData metaData)
           
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)
          This is used by the BoostrapProfileFactory, as it already created the subProfiles list.
protected  List<org.jboss.profileservice.spi.ProfileKey> createSubProfiles(org.jboss.profileservice.spi.metadata.ProfileMetaData metaData)
           
 
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
 

Constructor Detail

AbstractProfileFactory

public AbstractProfileFactory()
Method Detail

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 key
metaData - the profile meta data
subProfiles - 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.