com.ibm.ws.activity
Interface HLSLiteDataInterface

All Known Subinterfaces:
HLSLiteExtended

public interface HLSLiteDataInterface

----------------------------------------------------------------------------


Method Summary
 org.omg.CosActivity.PropertyGroupIdentity getData()
          Called on all registered HLSLite implementations when a request is processed for a remote target.
 java.util.Properties getProperties()
          Called by the Activity service when the implementation is registered.
 void requestComplete()
          Called on all registered HLSLite implementations when a request that carried any Activity service data completes.
 void setData(org.omg.CosActivity.PropertyGroupIdentity newData)
          Called on a registered HLSLite implementation in the target process to pass it the data received on an inbound request.
 

Method Detail

getData

public org.omg.CosActivity.PropertyGroupIdentity getData()
Called on all registered HLSLite implementations when a request is processed for a remote target. If the implementation does not wish to send data on the request it should return null.


setData

public void setData(org.omg.CosActivity.PropertyGroupIdentity newData)
Called on a registered HLSLite implementation in the target process to pass it the data received on an inbound request.


requestComplete

public void requestComplete()
Called on all registered HLSLite implementations when a request that carried any Activity service data completes. This method will be called even if the HLS in question did not receive data for the request.


getProperties

public java.util.Properties getProperties()
Called by the Activity service when the implementation is registered. The HLS uses this Properties object to indicate its specific requirements to the activity service. Recognized properties are:
  1. newGlobalId = "true"/"false"; default is "true".

    If this value is set to "true", the Activity service will generate a unique globalId each tme data is propagated for this service. This may be necessary to allow interoperation with a remote HLS implementation that uses the public Activity service interfaces. If the value is "false" then a single GlobalId will be generated on service registration and used for every propagation of data for the service from the current process.

It is acceptable for an implementation to return null from this method if it wants to use default behaviour.



 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.