Package org.openspaces.pu.service
Class PlainServiceDetails
java.lang.Object
org.openspaces.pu.service.PlainServiceDetails
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable,ServiceDetails
- Direct Known Subclasses:
CustomServiceDetails,EventContainerServiceDetails,GatewayServiceDetails,JeeServiceDetails,RemotingServiceDetails,SpaceServiceDetails,StandaloneServiceDetails
A simple implementation of
ServiceDetails.- Author:
- kimchy
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregateById(ServiceDetails[] servicesDetails) aggregateByServiceSubType(ServiceDetails[] servicesDetails) aggregateByServiceType(ServiceDetails[] servicesDetails) Returns extra attributes the service details wishes to expose.Returns a short description of the service.getId()Returns the id of the processing unit (usually the bean id).Returns the long descriptionReturns the type of the serive details.Returns the service type.voidtoString()voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
id
-
serviceType
-
serviceSubType
-
description
-
longDescription
-
attributes
-
-
Constructor Details
-
PlainServiceDetails
public PlainServiceDetails() -
PlainServiceDetails
-
-
Method Details
-
getId
Description copied from interface:ServiceDetailsReturns the id of the processing unit (usually the bean id).- Specified by:
getIdin interfaceServiceDetails
-
getServiceType
Description copied from interface:ServiceDetailsReturns the service type. For example, space, dotnet, jee.- Specified by:
getServiceTypein interfaceServiceDetails
-
getServiceSubType
Description copied from interface:ServiceDetailsReturns the type of the serive details. For example, in case of space, it can be localcache, proxy, ... .- Specified by:
getServiceSubTypein interfaceServiceDetails
-
getDescription
Description copied from interface:ServiceDetailsReturns a short description of the service.- Specified by:
getDescriptionin interfaceServiceDetails
-
getLongDescription
Description copied from interface:ServiceDetailsReturns the long description- Specified by:
getLongDescriptionin interfaceServiceDetails
-
getAttributes
Description copied from interface:ServiceDetailsReturns extra attributes the service details wishes to expose.- Specified by:
getAttributesin interfaceServiceDetails
-
aggregateByServiceType
-
aggregateByServiceSubType
-
aggregateById
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
toString
-