Package org.adempiere.base.equinox
Class EquinoxExtensionLocator
- java.lang.Object
-
- org.adempiere.base.equinox.EquinoxExtensionLocator
-
public class EquinoxExtensionLocator extends Object
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.- Author:
- viola
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EquinoxExtensionLocator
instance()
<T> EquinoxExtensionHolder<T>
list(Class<T> type)
<T> EquinoxExtensionHolder<T>
list(Class<T> type, String extensionPointId)
<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>
locate(Class<T> type)
<T> EquinoxExtensionHolder<T>
locate(Class<T> type, String extensionPointId)
<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 Detail
-
instance
public static EquinoxExtensionLocator instance()
-
list
public <T> EquinoxExtensionHolder<T> list(Class<T> type)
- Parameters:
type
-- Returns:
- equinox extension holder
-
list
public <T> EquinoxExtensionHolder<T> list(Class<T> type, String extensionPointId)
- Parameters:
type
-extensionPointId
-- Returns:
- equinox extension holder
-
list
public <T> EquinoxExtensionHolder<T> list(Class<T> type, ServiceQuery query)
- Parameters:
type
-query
-- Returns:
- equinox extension holder
-
list
public <T> EquinoxExtensionHolder<T> list(Class<T> type, String extensionId, ServiceQuery query)
- 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
public <T> EquinoxExtensionHolder<T> locate(Class<T> type)
- Parameters:
type
-- Returns:
- equinox extension holder
-
locate
public <T> EquinoxExtensionHolder<T> locate(Class<T> type, String extensionPointId)
- Parameters:
type
-extensionPointId
-- Returns:
- equinox extension holder
-
locate
public <T> EquinoxExtensionHolder<T> locate(Class<T> type, ServiceQuery query)
- Parameters:
type
-query
-- Returns:
- equinox extension holder
-
locate
public <T> EquinoxExtensionHolder<T> locate(Class<T> type, String extensionId, ServiceQuery query)
- 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
-
-