Package org.adempiere.base.equinox
Class ExtensionList<T>
java.lang.Object
org.adempiere.base.equinox.ExtensionList<T>
- Type Parameters:
T
- The service this list holds implementations of.
- All Implemented Interfaces:
Iterable<T>
This List looks up services as extensions in equinox.
The extension point must be the class name of the service interface.
The query attributes are checked against the attributes of the extension configuration element.
The extension point must be the class name of the service interface.
The query attributes are checked against the attributes of the extension configuration element.
In order to minimize equinox lookups, a filtering iterator is used.
- Author:
- viola
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
ExtensionList.ExtensionIterator<E extends T>
Iterator implementation for Equinox extension -
Constructor Summary
ConstructorDescriptionExtensionList
(Class<T> clazz, String extensionPointId) ExtensionList
(Class<T> type, String extensionPointId, String extensionId, ServiceQuery query) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ExtensionList
- Parameters:
clazz
-extensionPointId
-
-
ExtensionList
public ExtensionList(Class<T> type, String extensionPointId, String extensionId, ServiceQuery query) - Parameters:
type
-extensionPointId
-extensionId
-query
-
-
-
Method Details