GigaSpaces - Open Spaces

org.openspaces.pu.container.servicegrid
Class SpacePUServiceDetails

java.lang.Object
  extended by org.openspaces.pu.container.servicegrid.SpacePUServiceDetails
All Implemented Interfaces:
Externalizable, Serializable, PUServiceDetails

public class SpacePUServiceDetails
extends Object
implements PUServiceDetails, Externalizable

A Space service defined within a processing unit.

Author:
kimchy
See Also:
Serialized Form

Constructor Summary
SpacePUServiceDetails()
           
SpacePUServiceDetails(String name, String containerName, net.jini.core.lookup.ServiceID serviceID, com.gigaspaces.cluster.activeelection.SpaceMode spaceMode, String type)
           
 
Method Summary
 String getContainerName()
           
 String getDescription()
          Returns a short description of the service.
 String getLongDescription()
          Returns the long description
 String getName()
           
 net.jini.core.lookup.ServiceID getServiceID()
           
 String getServiceType()
          Returns the service type.
 com.gigaspaces.cluster.activeelection.SpaceMode getSpaceMode()
           
 String getType()
          Returns the type of the serive details.
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpacePUServiceDetails

public SpacePUServiceDetails()

SpacePUServiceDetails

public SpacePUServiceDetails(String name,
                             String containerName,
                             net.jini.core.lookup.ServiceID serviceID,
                             com.gigaspaces.cluster.activeelection.SpaceMode spaceMode,
                             String type)
Method Detail

getServiceType

public String getServiceType()
Description copied from interface: PUServiceDetails
Returns the service type. For example, space, dotnet, jee.

Specified by:
getServiceType in interface PUServiceDetails

getDescription

public String getDescription()
Description copied from interface: PUServiceDetails
Returns a short description of the service.

Specified by:
getDescription in interface PUServiceDetails

getLongDescription

public String getLongDescription()
Description copied from interface: PUServiceDetails
Returns the long description

Specified by:
getLongDescription in interface PUServiceDetails

getName

public String getName()

getContainerName

public String getContainerName()

getServiceID

public net.jini.core.lookup.ServiceID getServiceID()

getSpaceMode

public com.gigaspaces.cluster.activeelection.SpaceMode getSpaceMode()

getType

public String getType()
Description copied from interface: PUServiceDetails
Returns the type of the serive details. For example, in case of space, it can be localcache, proxy, ... .

Specified by:
getType in interface PUServiceDetails

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

GigaSpaces - Open Spaces

Copyright © GigaSpaces.