Package org.adempiere.base.equinox
Class EquinoxExtensionLocator
java.lang.Object
org.adempiere.base.equinox.EquinoxExtensionLocator
This is the Equinox implementation of extension Locator.
It delegates work to the ExtensionList that lookups up extensions.
Usually, the ids of extension points correspond to the interface names of the services.
It delegates work to the ExtensionList that lookups up extensions.
Usually, the ids of extension points correspond to the interface names of the services.
- Author:
- viola
-
Method Summary
Modifier and TypeMethodDescriptionstatic EquinoxExtensionLocator
instance()
<T> EquinoxExtensionHolder<T>
<T> EquinoxExtensionHolder<T>
<T> EquinoxExtensionHolder<T>
list
(Class<T> type, String extensionPointId, String extensionId, ServiceQuery query) <T> EquinoxExtensionHolder<T>
list
(Class<T> type, String extensionId, ServiceQuery query) <T> EquinoxExtensionHolder<T>
list
(Class<T> type, ServiceQuery query) <T> EquinoxExtensionHolder<T>
<T> EquinoxExtensionHolder<T>
<T> EquinoxExtensionHolder<T>
locate
(Class<T> type, String extensionPointId, String extensionId, ServiceQuery query) <T> EquinoxExtensionHolder<T>
locate
(Class<T> type, String extensionId, ServiceQuery query) <T> EquinoxExtensionHolder<T>
locate
(Class<T> type, ServiceQuery query)
-
Method Details
-
instance
- Returns:
- EquinoxExtensionLocator singleton instance
-
list
- Parameters:
type
-- Returns:
- equinox extension holder
-
list
- Parameters:
type
-extensionPointId
-- Returns:
- equinox extension holder
-
list
- Parameters:
type
-query
-- Returns:
- equinox extension holder
-
list
- Parameters:
type
-extensionId
-query
-- Returns:
- equinox extension holder
-
list
public <T> EquinoxExtensionHolder<T> list(Class<T> type, String extensionPointId, String extensionId, ServiceQuery query) - Parameters:
type
-extensionPointId
-extensionId
-query
-- Returns:
- equinox extension holder
-
locate
- Parameters:
type
-- Returns:
- equinox extension holder
-
locate
- Parameters:
type
-extensionPointId
-- Returns:
- equinox extension holder
-
locate
- Parameters:
type
-query
-- Returns:
- equinox extension holder
-
locate
- Parameters:
type
-extensionId
-query
-- Returns:
- equinox extension holder
-
locate
public <T> EquinoxExtensionHolder<T> locate(Class<T> type, String extensionPointId, String extensionId, ServiceQuery query) - Parameters:
type
-extensionPointId
-extensionId
-query
-- Returns:
- equinox extension holder
-