|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.pu.service.PlainServiceDetails
public class PlainServiceDetails
A simple implementation of ServiceDetails
.
Field Summary | |
---|---|
protected Map<String,Object> |
attributes
|
protected String |
description
|
protected String |
id
|
protected String |
longDescription
|
protected String |
serviceSubType
|
protected String |
serviceType
|
Constructor Summary | |
---|---|
PlainServiceDetails()
|
|
PlainServiceDetails(String id,
String serviceType,
String serviceSubType,
String description,
String longDescription)
|
Method Summary | |
---|---|
AggregatedServiceDetails |
aggregateById(ServiceDetails[] servicesDetails)
|
AggregatedServiceDetails |
aggregateByServiceSubType(ServiceDetails[] servicesDetails)
|
AggregatedServiceDetails |
aggregateByServiceType(ServiceDetails[] servicesDetails)
|
Map<String,Object> |
getAttributes()
Returns extra atrributes 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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String id
protected String serviceType
protected String serviceSubType
protected String description
protected String longDescription
protected Map<String,Object> attributes
Constructor Detail |
---|
public PlainServiceDetails()
public PlainServiceDetails(String id, String serviceType, String serviceSubType, String description, String longDescription)
Method Detail |
---|
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
public String toString()
toString
in class Object
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |