Package org.apache.qpid.server.model
Class Model
- java.lang.Object
-
- org.apache.qpid.server.model.Model
-
- Direct Known Subclasses:
BrokerModel
,SystemConfigBootstrapModel
public abstract class Model extends Object
-
-
Constructor Summary
Constructors Constructor Description Model()
-
Method Summary
-
-
-
Method Detail
-
getAncestor
public <C> C getAncestor(Class<C> ancestorClass, ConfiguredObject<?> object)
-
getAncestor
public <C> C getAncestor(Class<C> ancestorClass, Class<? extends ConfiguredObject> category, ConfiguredObject<?> object)
-
getAncestorClassWithGivenDescendant
public Class<? extends ConfiguredObject> getAncestorClassWithGivenDescendant(Class<? extends ConfiguredObject> category, Class<? extends ConfiguredObject> descendantClass)
-
getDescendantCategories
public final Collection<Class<? extends ConfiguredObject>> getDescendantCategories(Class<? extends ConfiguredObject> parent)
-
getAncestorCategories
public final Collection<Class<? extends ConfiguredObject>> getAncestorCategories(Class<? extends ConfiguredObject> category)
-
getSupportedCategories
public abstract Collection<Class<? extends ConfiguredObject>> getSupportedCategories()
-
getChildTypes
public abstract Collection<Class<? extends ConfiguredObject>> getChildTypes(Class<? extends ConfiguredObject> parent)
-
getRootCategory
public abstract Class<? extends ConfiguredObject> getRootCategory()
-
getParentType
public abstract Class<? extends ConfiguredObject> getParentType(Class<? extends ConfiguredObject> child)
-
getMajorVersion
public abstract int getMajorVersion()
-
getMinorVersion
public abstract int getMinorVersion()
-
getObjectFactory
public abstract ConfiguredObjectFactory getObjectFactory()
-
getTypeRegistry
public abstract ConfiguredObjectTypeRegistry getTypeRegistry()
-
isSpecialization
public static boolean isSpecialization(Model model, Model specialization, Class<? extends ConfiguredObject> specializationPoint)
-
-