com.xebialabs.deployit.plugin.api.reflect
Class DescriptorRegistry

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.reflect.DescriptorRegistry

public abstract class DescriptorRegistry
extends java.lang.Object


Constructor Summary
DescriptorRegistry()
           
 
Method Summary
protected abstract  boolean _exists(Type type)
           
protected abstract  Descriptor _getDescriptor(Type type)
           
protected abstract  java.util.Collection<Descriptor> _getDescriptors()
           
protected abstract  java.util.Collection<Type> _getSubtypes(Type supertype)
           
static boolean exists(Type type)
           
static Descriptor getDescriptor(java.lang.String prefixedName)
           
static Descriptor getDescriptor(java.lang.String prefix, java.lang.String name)
           
static Descriptor getDescriptor(Type type)
           
static java.util.Collection<Descriptor> getDescriptors()
           
protected static DescriptorRegistry getInstance()
           
static java.util.Collection<Type> getSubtypes(Type supertype)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptorRegistry

public DescriptorRegistry()
Method Detail

getDescriptors

public static java.util.Collection<Descriptor> getDescriptors()

getSubtypes

public static java.util.Collection<Type> getSubtypes(Type supertype)

getDescriptor

public static Descriptor getDescriptor(java.lang.String prefixedName)

getDescriptor

public static Descriptor getDescriptor(java.lang.String prefix,
                                       java.lang.String name)

getDescriptor

public static Descriptor getDescriptor(Type type)

exists

public static boolean exists(Type type)

getInstance

protected static DescriptorRegistry getInstance()

_getDescriptors

protected abstract java.util.Collection<Descriptor> _getDescriptors()

_getSubtypes

protected abstract java.util.Collection<Type> _getSubtypes(Type supertype)

_getDescriptor

protected abstract Descriptor _getDescriptor(Type type)

_exists

protected abstract boolean _exists(Type type)