org.eclipse.cosmos.dc.common.api.impl
Class AbstractQuery
java.lang.Object
org.eclipse.cosmos.dc.common.api.impl.AbstractQuery
- All Implemented Interfaces:
- IDataQueryService, IWireSource, IWireTerminal
- Direct Known Subclasses:
- CBEQuery, StatisticalQuery
public abstract class AbstractQuery
- extends java.lang.Object
- implements IDataQueryService, IWireSource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_proxy
protected IDataQueryService _proxy
targetList
protected java.util.ArrayList<IWireTarget> targetList
responseList
protected java.util.ArrayList<IDataResponseService> responseList
queryMap
protected java.util.HashMap<java.lang.String,java.util.ArrayList<IDataQueryComponent>> queryMap
AbstractQuery
public AbstractQuery(ContributionManager manager)
acceptWireTarget
public abstract boolean acceptWireTarget(IWireTarget target)
throws java.lang.Exception
- Throws:
java.lang.Exception
prepare
public void prepare()
throws java.lang.Exception
- Specified by:
prepare in interface IWireTerminal
- Throws:
java.lang.Exception
addResponse
public void addResponse(IDataResponseService response)
- Specified by:
addResponse in interface IDataQueryService
addWireTarget
public void addWireTarget(IWireTarget target)
throws java.lang.Exception
- Specified by:
addWireTarget in interface IWireSource
- Throws:
java.lang.Exception
getWireTargets
public IWireTarget[] getWireTargets()
- Specified by:
getWireTargets in interface IWireSource
setWireMethod
public void setWireMethod(java.lang.reflect.Method wireMethod)
getWireMethod
public java.lang.reflect.Method getWireMethod()
dispatch
public void dispatch(java.lang.Object obj)