org.eclipse.cosmos.dc.common.api.impl
Class AbstractResponse
java.lang.Object
org.eclipse.cosmos.dc.common.api.impl.AbstractResponse
- All Implemented Interfaces:
- IDataQueryComponent, IDataResponseService, IWireTarget
public abstract class AbstractResponse
- extends java.lang.Object
- implements IDataResponseService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_proxy
protected IDataResponseService _proxy
result
protected IDataQueryResult result
AbstractResponse
public AbstractResponse(ContributionManager manager)
getSupportedTypes
protected abstract java.lang.Class[] getSupportedTypes()
acceptType
public boolean acceptType(java.lang.Class type)
- Specified by:
acceptType in interface IDataResponseService- Specified by:
acceptType in interface IWireTarget
getResponseMethod
public java.lang.reflect.Method getResponseMethod(java.lang.Class type)
- Specified by:
getResponseMethod in interface IDataResponseService
acceptWireSource
public abstract boolean acceptWireSource(IWireSource target)
throws java.lang.Exception
- Throws:
java.lang.Exception
setWireSource
public void setWireSource(IWireSource source)
throws java.lang.Exception
- Specified by:
setWireSource in interface IWireTarget
- Throws:
java.lang.Exception
getWireSource
public IWireSource getWireSource()
- Specified by:
getWireSource in interface IWireTarget
setWireMethod
public void setWireMethod(java.lang.reflect.Method wireMethod)
- Specified by:
setWireMethod in interface IWireTarget
getWireMethod
public java.lang.reflect.Method getWireMethod()
- Specified by:
getWireMethod in interface IWireTarget
getAcceptableTypes
public java.lang.Class[] getAcceptableTypes()
- Specified by:
getAcceptableTypes in interface IWireTarget
setQueryMode
public void setQueryMode(boolean inQuery)
- Specified by:
setQueryMode in interface IDataQueryComponent
getQueryMode
public boolean getQueryMode()
- Specified by:
getQueryMode in interface IDataQueryComponent
setActive
public void setActive(boolean active)
- Specified by:
setActive in interface IDataQueryComponent
isActive
public boolean isActive()
- Specified by:
isActive in interface IDataQueryComponent
setDataResult
public void setDataResult(IDataQueryResult result)
- Specified by:
setDataResult in interface IDataResponseService