public interface AddonRegistry extends AddonView
Addon instances.| Modifier and Type | Method and Description |
|---|---|
<T> ExportedInstance<T> |
getExportedInstance(Class<T> type)
|
<T> ExportedInstance<T> |
getExportedInstance(String type)
Get an instance of any currently available
Exported service types with Class.getName() matching
the given name. |
<T> Set<ExportedInstance<T>> |
getExportedInstances(Class<T> clazz)
|
<T> Set<ExportedInstance<T>> |
getExportedInstances(String clazz)
Get the set of currently available
Exported services types with Class.getName() matching the given
name. |
Set<Class<?>> |
getExportedTypes()
|
<T> Set<Class<T>> |
getExportedTypes(Class<T> type)
Get a
Set of currently available Exported service types for which
Class.isAssignableFrom(Class) returns true. |
<T> Set<ExportedInstance<T>> getExportedInstances(Class<T> clazz)
Exported services of the given Class type. Return
Collections.EMPTY_SET if no matching services are found.Set of ExportedInstance objects (Never null.)<T> Set<ExportedInstance<T>> getExportedInstances(String clazz)
Exported services types with Class.getName() matching the given
name. Return Collections.EMPTY_SET if no matching services are found.Set of ExportedInstance objects (Never null.)<T> ExportedInstance<T> getExportedInstance(Class<T> type)
Exported service of the given Class type. Return
null if no matching service can be found.ExportedInstance (May be null.)<T> ExportedInstance<T> getExportedInstance(String type)
Exported service types with Class.getName() matching
the given name. Return null if no matching service can be found.ExportedInstance (May be null.)Copyright © 2013 JBoss by Red Hat. All Rights Reserved.