Interface IDescriptorRegistry
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
BaseDescriptorRegistry
public interface IDescriptorRegistry extends java.lang.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_PRECEDENCEstatic intHIGHEST_PRECEDENCEstatic intLOWEST_PRECEDENCE
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean_exists(Type type)Descriptor_getDescriptor(Type type)java.util.Collection<Descriptor>_getDescriptors()java.util.Collection<Type>_getSubtypes(Type supertype)default voidclose()DescriptorRegistryIdgetId()default intgetOrder()booleanisDefault()booleanisLocal()TypelookupType(java.lang.Class<?> ciClass)TypelookupType(java.lang.String typeName)TypelookupType(java.lang.String prefix, java.lang.String simpleName)voidregister(Descriptor descriptor)voidregisterSubtype(Type supertype, Type subtype)voidverifyTypes()
-
-
-
Field Detail
-
HIGHEST_PRECEDENCE
static final int HIGHEST_PRECEDENCE
- See Also:
- Constant Field Values
-
LOWEST_PRECEDENCE
static final int LOWEST_PRECEDENCE
- See Also:
- Constant Field Values
-
DEFAULT_PRECEDENCE
static final int DEFAULT_PRECEDENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
DescriptorRegistryId getId()
-
lookupType
Type lookupType(java.lang.String typeName)
-
lookupType
Type lookupType(java.lang.Class<?> ciClass)
-
lookupType
Type lookupType(java.lang.String prefix, java.lang.String simpleName)
-
isLocal
boolean isLocal()
-
isDefault
boolean isDefault()
-
getOrder
default int getOrder()
-
_getDescriptors
java.util.Collection<Descriptor> _getDescriptors()
-
_exists
boolean _exists(Type type)
-
_getDescriptor
Descriptor _getDescriptor(Type type)
-
register
void register(Descriptor descriptor)
-
verifyTypes
void verifyTypes()
-
close
default void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
-