TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.hyades.tests.collection.correlation
Class ServiceRegistryTester

java.lang.Object
  extended byorg.eclipse.hyades.collection.correlation.BaseApplicationImpl
      extended byorg.eclipse.hyades.tests.collection.correlation.ServiceRegistryTester
All Implemented Interfaces:
IApplication

public class ServiceRegistryTester
extends BaseApplicationImpl
implements IApplication

This is the tester for ServiceRegistry.


Field Summary
 
Fields inherited from class org.eclipse.hyades.collection.correlation.BaseApplicationImpl
handler
 
Constructor Summary
ServiceRegistryTester()
           
 
Method Summary
 ICorrelatorData createCorrelatorData()
          Creates an initialized copy of ICorrelatorData.
 int getId()
          Returns the unique identifier of this application.
 int getVersion()
          Returns the version of this application.
 BaseCorrelatorDataImpl instantiateCorrelator()
          Instantiates a new instance of the correlator.
static void main(java.lang.String[] args)
           
 
Methods inherited from class org.eclipse.hyades.collection.correlation.BaseApplicationImpl
createCorrelatorAssociation, createCorrelatorStack, deregisterHandler, destroyCorrelatorStack, findCorrelatorStack, getActiveCorrelatorByKey, handleCall, handleCall, handleReturn, handleReturn, incrementCounter, initialize, popChild, popParent, popParent, pushChild, pushParent, pushParent, registerHandler, releaseAssociation, returnCorrelatorData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.collection.correlation.IApplication
getActiveCorrelatorByKey, handleCall, handleCall, handleReturn, handleReturn, initialize, popChild, popParent, popParent, pushChild, pushParent, pushParent, releaseAssociation
 

Constructor Detail

ServiceRegistryTester

public ServiceRegistryTester()
Method Detail

instantiateCorrelator

public BaseCorrelatorDataImpl instantiateCorrelator()
Description copied from class: BaseApplicationImpl
Instantiates a new instance of the correlator. Sub-classes must override this method so that the correlator pool can obtain new correlators when correlators are needed and the pool is empty.

Specified by:
instantiateCorrelator in class BaseApplicationImpl
Returns:
a newly-created instance of the correlator.
See Also:
BaseApplicationImpl.instantiateCorrelator()

createCorrelatorData

public ICorrelatorData createCorrelatorData()
Description copied from interface: IApplication
Creates an initialized copy of ICorrelatorData.

Specified by:
createCorrelatorData in interface IApplication
Overrides:
createCorrelatorData in class BaseApplicationImpl
See Also:
IApplication.createCorrelatorData()

getId

public int getId()
Description copied from interface: IApplication
Returns the unique identifier of this application.

Specified by:
getId in interface IApplication
Returns:
the unique identifier of this application.
See Also:
IApplication.getId()

getVersion

public int getVersion()
Description copied from interface: IApplication
Returns the version of this application.

Specified by:
getVersion in interface IApplication
Returns:
the version of this application.
See Also:
IApplication.getVersion()

main

public static void main(java.lang.String[] args)

TPTP 4.2.0 Platform Project
Public API Specification