org.qi4j.tools.model.descriptor
Class ImportedServiceCompositeDescriptor
java.lang.Object
org.qi4j.tools.model.descriptor.ImportedServiceCompositeDescriptor
- All Implemented Interfaces:
- CompositeDescriptor, ModelDescriptor, MetaInfoHolder, HasTypes
public class ImportedServiceCompositeDescriptor
- extends java.lang.Object
- implements CompositeDescriptor
XXX Workaround for inconsistency in Qi4J core-api/spi
ImportedServiceDescriptor wrapper as composite
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
importedService
protected ImportedServiceDescriptor importedService
mixins
protected java.util.List<java.lang.Class<?>> mixins
ImportedServiceCompositeDescriptor
public ImportedServiceCompositeDescriptor(ImportedServiceDescriptor importedService)
importedService
public ImportedServiceDescriptor importedService()
mixinTypes
public java.lang.Iterable<java.lang.Class<?>> mixinTypes()
- Specified by:
mixinTypes
in interface CompositeDescriptor
primaryType
public java.lang.Class<?> primaryType()
- Specified by:
primaryType
in interface CompositeDescriptor
visibility
public Visibility visibility()
- Specified by:
visibility
in interface ModelDescriptor
metaInfo
public <T> T metaInfo(java.lang.Class<T> infoType)
- Description copied from interface:
MetaInfoHolder
- Get metadata that implements the given type.
The info is registered during assembly of the application.
- Specified by:
metaInfo
in interface MetaInfoHolder
- Parameters:
infoType
- the type of metadata to be returned
- Returns:
- the metadata for the given type, or
null
if
no such metadata has been registered
types
public java.lang.Iterable<java.lang.Class<?>> types()
- Specified by:
types
in interface HasTypes
isAssignableTo
public boolean isAssignableTo(java.lang.Class<?> type)
- Specified by:
isAssignableTo
in interface ModelDescriptor
serviceImporter
public java.lang.Class<? extends ServiceImporter> serviceImporter()
toURI
public java.lang.String toURI()