public abstract class ProfileTypes
extends java.lang.Object
ProfileType objects, gather from hooks in
the extension manifests. The contents of the registry will reflect the
ProfileTypes defined in the set of enabled extensions only.| Modifier | Constructor and Description |
|---|---|
protected |
ProfileTypes() |
| Modifier and Type | Method and Description |
|---|---|
abstract ProfileType[] |
getAllTypes() |
static ProfileTypes |
getInstance() |
abstract ProfileType |
getTypeFor(java.lang.Class<? extends Profile> profileClass)
Returns the type for a particular
Profile class. |
abstract ProfileType |
getTypeFor(java.lang.String profileId)
Returns
ProfileType for an id. |
public static ProfileTypes getInstance()
public abstract ProfileType[] getAllTypes()
public abstract ProfileType getTypeFor(java.lang.Class<? extends Profile> profileClass) throws ProfileException
Profile class.profileClass - ProfileException - if a match could not be found.public abstract ProfileType getTypeFor(java.lang.String profileId)
ProfileType for an id. The id for each Profile
is defined as part of the <profile-support> hook.profileId -