public class PlainServiceDetails extends Object implements ServiceDetails, SmartExternalizable
ServiceDetails
.Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
attributes |
protected String |
description |
protected String |
id |
protected String |
longDescription |
protected String |
serviceSubType |
protected String |
serviceType |
Constructor and Description |
---|
PlainServiceDetails() |
PlainServiceDetails(String id,
String serviceType,
String serviceSubType,
String description,
String longDescription) |
Modifier and Type | Method and Description |
---|---|
AggregatedServiceDetails |
aggregateById(ServiceDetails[] servicesDetails) |
AggregatedServiceDetails |
aggregateByServiceSubType(ServiceDetails[] servicesDetails) |
AggregatedServiceDetails |
aggregateByServiceType(ServiceDetails[] servicesDetails) |
Map<String,Object> |
getAttributes()
Returns extra attributes the service details wishes to expose.
|
String |
getDescription()
Returns a short description of the service.
|
String |
getId()
Returns the id of the processing unit (usually the bean id).
|
String |
getLongDescription()
Returns the long description
|
String |
getServiceSubType()
Returns the type of the serive details.
|
String |
getServiceType()
Returns the service type.
|
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
protected String id
protected String serviceType
protected String serviceSubType
protected String description
protected String longDescription
public String getId()
ServiceDetails
getId
in interface ServiceDetails
public String getServiceType()
ServiceDetails
getServiceType
in interface ServiceDetails
public String getServiceSubType()
ServiceDetails
getServiceSubType
in interface ServiceDetails
public String getDescription()
ServiceDetails
getDescription
in interface ServiceDetails
public String getLongDescription()
ServiceDetails
getLongDescription
in interface ServiceDetails
public Map<String,Object> getAttributes()
ServiceDetails
getAttributes
in interface ServiceDetails
public AggregatedServiceDetails aggregateByServiceType(ServiceDetails[] servicesDetails)
public AggregatedServiceDetails aggregateByServiceSubType(ServiceDetails[] servicesDetails)
public AggregatedServiceDetails aggregateById(ServiceDetails[] servicesDetails)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.