Package org.eclipse.emf.cdo.spi.server
Class ContainerQueryHandlerProvider
java.lang.Object
org.eclipse.emf.cdo.spi.server.ContainerQueryHandlerProvider
- All Implemented Interfaces:
IQueryHandlerProvider,org.eclipse.net4j.util.container.IManagedContainerProvider
public class ContainerQueryHandlerProvider
extends Object
implements IQueryHandlerProvider, org.eclipse.net4j.util.container.IManagedContainerProvider
Resolves repository query handlers through the managed container, which holds the registered language-specific
QueryHandlerFactory extensions.- Since:
- 2.0
- Author:
- Eike Stepper
-
Constructor Summary
ConstructorsConstructorDescriptionContainerQueryHandlerProvider(org.eclipse.net4j.util.container.IManagedContainer container) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.net4j.util.container.IManagedContainergetQueryHandler(CDOQueryInfo info) Selects the handler factory whose type matches the query language and asks the container for its handler instance.
-
Constructor Details
-
ContainerQueryHandlerProvider
public ContainerQueryHandlerProvider(org.eclipse.net4j.util.container.IManagedContainer container)
-
-
Method Details
-
getContainer
public org.eclipse.net4j.util.container.IManagedContainer getContainer()- Specified by:
getContainerin interfaceorg.eclipse.net4j.util.container.IManagedContainerProvider
-
getQueryHandler
Selects the handler factory whose type matches the query language and asks the container for its handler instance.- Specified by:
getQueryHandlerin interfaceIQueryHandlerProvider- Since:
- 3.0
-