Class QueryMakerServiceImpl
- java.lang.Object
-
- org.nuxeo.runtime.model.DefaultComponent
-
- org.nuxeo.ecm.core.storage.sql.jdbc.QueryMakerServiceImpl
-
- All Implemented Interfaces:
QueryMakerService
,Adaptable
,Component
,Extensible
,TimestampedService
public class QueryMakerServiceImpl extends DefaultComponent implements QueryMakerService
Service for the registration of QueryMaker classes.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<QueryMakerDescriptor>
descriptors
protected List<Class<? extends QueryMaker>>
queryMakers
static String
XP
-
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
-
Constructor Summary
Constructors Constructor Description QueryMakerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Class<? extends QueryMaker>>
getQueryMakers()
void
registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
void
registerQueryMaker(QueryMakerDescriptor descriptor)
void
unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
void
unregisterQueryMaker(QueryMakerDescriptor descriptor)
-
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterExtension
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Component
applicationStarted, getApplicationStartedOrder
-
-
-
-
Field Detail
-
XP
public static final String XP
- See Also:
- Constant Field Values
-
descriptors
protected final List<QueryMakerDescriptor> descriptors
-
queryMakers
protected List<Class<? extends QueryMaker>> queryMakers
-
-
Constructor Detail
-
QueryMakerServiceImpl
public QueryMakerServiceImpl()
-
-
Method Detail
-
registerContribution
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
- Overrides:
registerContribution
in classDefaultComponent
-
unregisterContribution
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
- Overrides:
unregisterContribution
in classDefaultComponent
-
registerQueryMaker
public void registerQueryMaker(QueryMakerDescriptor descriptor)
- Specified by:
registerQueryMaker
in interfaceQueryMakerService
-
unregisterQueryMaker
public void unregisterQueryMaker(QueryMakerDescriptor descriptor)
- Specified by:
unregisterQueryMaker
in interfaceQueryMakerService
-
getQueryMakers
public List<Class<? extends QueryMaker>> getQueryMakers()
- Specified by:
getQueryMakers
in interfaceQueryMakerService
-
-