GigaSpaces XAP 9.7.2 API

org.openspaces.pu.service
Class PlainAggregatedServiceDetails

java.lang.Object
  extended by org.openspaces.pu.service.PlainAggregatedServiceDetails
All Implemented Interfaces:
Externalizable, Serializable, AggregatedServiceDetails
Direct Known Subclasses:
AggregatedAsyncPollingEventContainerServiceDetails, AggregatedNotifyEventContainerServiceDetails, AggregatedPollingEventContainerServiceDetails

public class PlainAggregatedServiceDetails
extends Object
implements AggregatedServiceDetails, Externalizable

A simple and generic implementation of the AggregatedServiceDetails interface.

Author:
kimchy
See Also:
Serialized Form

Constructor Summary
PlainAggregatedServiceDetails()
          Just for externalizable.
PlainAggregatedServiceDetails(String serviceType, ServiceDetails[] details)
           
 
Method Summary
 Map<String,Object> getAttributes()
          Returns key value pair of attributes for the details.
 String getServiceType()
          Returns the aggregated service details.
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlainAggregatedServiceDetails

public PlainAggregatedServiceDetails()
Just for externalizable.


PlainAggregatedServiceDetails

public PlainAggregatedServiceDetails(String serviceType,
                                     ServiceDetails[] details)
Method Detail

getServiceType

public String getServiceType()
Description copied from interface: AggregatedServiceDetails
Returns the aggregated service details.

Specified by:
getServiceType in interface AggregatedServiceDetails

getAttributes

public Map<String,Object> getAttributes()
Description copied from interface: AggregatedServiceDetails
Returns key value pair of attributes for the details.

Specified by:
getAttributes in interface AggregatedServiceDetails

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

toString

public String toString()
Overrides:
toString in class Object

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.