COSMOS ${releaseVersion} data-collection Project
Public API Specification

org.eclipse.cosmos.dc.common.spi.impl
Class InboundDataContext

java.lang.Object
  extended by org.eclipse.cosmos.dc.common.spi.impl.AbstractCollectionContext
      extended by org.eclipse.cosmos.dc.common.spi.impl.InboundDataContext
All Implemented Interfaces:
IDataCollectionContext, ComponentListener, InboundContext, OperationalStatus

public class InboundDataContext
extends AbstractCollectionContext
implements InboundContext, IDataCollectionContext, ComponentListener


Field Summary
 
Fields inherited from class org.eclipse.cosmos.dc.common.spi.impl.AbstractCollectionContext
AVAILABLE, FULLY_WIRED, NOT_WIRED, PARTIALLY_AVAILABLE, PARTIALLY_WIRED, rootDescriptor, UNAVAILABLE, UNKNOWN
 
Fields inherited from interface org.eclipse.cosmos.dc.common.spi.InboundContext
NAMESPACE
 
Fields inherited from interface org.eclipse.cosmos.dc.common.api.IDataCollectionContext
CONTEXT_QNAME, COSMOS_NAMESPACE, DIRECTION_QNAME, NAME_QNAME, NAMESPACE, OPTIMIZABLE_QNAME
 
Fields inherited from interface org.eclipse.cosmos.dc.common.spi.ComponentListener
ABNORMAL_COMPLETION, NORMAL_COMPLETION, START_CAPTURE, STOP_CAPTURE
 
Constructor Summary
InboundDataContext(Runtime runtime, ContributionManager manager)
           
 
Method Summary
 void activate()
           
protected  java.lang.Class[] computeIntersection(java.lang.Class[] targetClasses, java.lang.Class[] sourceClasses)
           
 void deactivate()
           
 void dispatch()
           
 void event(int id, java.lang.Object component)
           
 void event(int id, java.lang.Object component, java.lang.Object parm)
           
 void event(int id, java.lang.Object component, java.lang.Throwable t)
           
 IDataSourceService getRootSource()
           
 void materialize()
           
protected  void resolveChildren(DescriptorNode node, IWireSource source)
           
protected  void resolveContext()
           
 void setRootSource(IDataSourceService rootSource)
           
protected  void wireContext()
           
 
Methods inherited from class org.eclipse.cosmos.dc.common.spi.impl.AbstractCollectionContext
getName, getOperationalStatus, isFullyWired, isValid, isWired, load, processBinding, processChild, processContext, processFilter, processQuery, processResponse, processSink, processSource, processTransform, setOperationalStatus, setValid, setWired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.cosmos.dc.common.api.IDataCollectionContext
getName
 

Constructor Detail

InboundDataContext

public InboundDataContext(Runtime runtime,
                          ContributionManager manager)
Method Detail

setRootSource

public void setRootSource(IDataSourceService rootSource)
Specified by:
setRootSource in interface InboundContext

getRootSource

public IDataSourceService getRootSource()
Specified by:
getRootSource in interface InboundContext

materialize

public void materialize()
                 throws java.lang.Exception
Specified by:
materialize in interface IDataCollectionContext
Specified by:
materialize in class AbstractCollectionContext
Throws:
java.lang.Exception

resolveContext

protected void resolveContext()
                       throws java.lang.Exception
Throws:
java.lang.Exception

resolveChildren

protected void resolveChildren(DescriptorNode node,
                               IWireSource source)
                        throws java.lang.Exception
Throws:
java.lang.Exception

wireContext

protected void wireContext()
                    throws java.lang.Exception
Throws:
java.lang.Exception

computeIntersection

protected java.lang.Class[] computeIntersection(java.lang.Class[] targetClasses,
                                                java.lang.Class[] sourceClasses)

dispatch

public void dispatch()
              throws java.lang.Exception
Throws:
java.lang.Exception

activate

public void activate()
              throws java.lang.Exception
Specified by:
activate in interface InboundContext
Throws:
java.lang.Exception

deactivate

public void deactivate()
                throws java.lang.Exception
Specified by:
deactivate in interface InboundContext
Throws:
java.lang.Exception

event

public void event(int id,
                  java.lang.Object component)
Specified by:
event in interface ComponentListener

event

public void event(int id,
                  java.lang.Object component,
                  java.lang.Throwable t)
Specified by:
event in interface ComponentListener

event

public void event(int id,
                  java.lang.Object component,
                  java.lang.Object parm)
Specified by:
event in interface ComponentListener

COSMOS ${releaseVersion} data-collection Project
Public API Specification