org.objectweb.speedo.runtime.query
Class SpeedoQueryManager
org.objectweb.speedo.runtime.query.SpeedoQueryManager
- All Implemented Interfaces:
- QueryManager
- public class SpeedoQueryManager
- implements QueryManager
SpeedoQueryManager manages the association between SpeedoQuery and the
the compiled query: SpeedoQueryCompiler.
- Author:
- X.Spengler, S.Chassande-Barrioz
MAPPER_BINDING
public static final java.lang.String MAPPER_BINDING
JORM_FACTORY_BINDING
public static final java.lang.String JORM_FACTORY_BINDING
LOGGER_FACTORY_BINDING
public static final java.lang.String LOGGER_FACTORY_BINDING
QUERY_POOL_BINDING
public static final java.lang.String QUERY_POOL_BINDING
LOGGER_NAME
public static final java.lang.String LOGGER_NAME
SpeedoQueryManager
public SpeedoQueryManager()
- creates a new SpeedoQueryManager object.
createResource
public org.objectweb.perseus.pool.api.PoolResource createResource(java.lang.Object hints)
throws java.lang.Exception
matchResource
public boolean matchResource(org.objectweb.perseus.pool.api.PoolResource pr,
java.lang.Object hints)
getFcBindings
public java.lang.Object getFcBindings(java.lang.String s)
addFcBinding
public void addFcBinding(java.lang.String s,
java.lang.Object o)
removeFcBinding
public void removeFcBinding(java.lang.String s,
java.lang.Object serverItf)
getQueryCompiler
public QueryCompiler getQueryCompiler(QueryDefinition qd)
- returns a QueryCompiler implementation, creates it if it does not exists,
or just returns an existing one.
- Specified by:
getQueryCompiler
in interface QueryManager
- Parameters:
qd
- a QueryDefinition- Returns:
- a (new/existing) QueryCompiler instance.