GigaSpaces XAP 8.0 API

org.openspaces.pu.container.jee
Class JeeServiceDetails

java.lang.Object
  extended by org.openspaces.pu.service.PlainServiceDetails
      extended by org.openspaces.pu.container.jee.JeeServiceDetails
All Implemented Interfaces:
Externalizable, Serializable, ServiceDetails

public class JeeServiceDetails
extends PlainServiceDetails

A service that holds a jee container (such as jetty).

Author:
kimchy
See Also:
Serialized Form

Nested Class Summary
static class JeeServiceDetails.Attributes
           
 
Field Summary
static String ID
           
static String SERVICE_TYPE
           
 
Fields inherited from class org.openspaces.pu.service.PlainServiceDetails
attributes, description, id, longDescription, serviceSubType, serviceType
 
Constructor Summary
JeeServiceDetails()
           
JeeServiceDetails(String host, int port, int sslPort, String contextPath, boolean shared, String serviceSubType, JeeType jeeType)
           
 
Method Summary
 String getContextPath()
          Returns the context path of the web application.
 String getHost()
          Returns the host of where the service is running on.
 int getPort()
          Returns the port of where the service is running on.
 int getSslPort()
          Returns the ssl port of where the service is running on.
 boolean isShared()
          Returns true if this web service is running on a shared instance of a web container.
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.openspaces.pu.service.PlainServiceDetails
aggregateById, aggregateByServiceSubType, aggregateByServiceType, getAttributes, getDescription, getId, getLongDescription, getServiceSubType, getServiceType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values

SERVICE_TYPE

public static final String SERVICE_TYPE
See Also:
Constant Field Values
Constructor Detail

JeeServiceDetails

public JeeServiceDetails()

JeeServiceDetails

public JeeServiceDetails(String host,
                         int port,
                         int sslPort,
                         String contextPath,
                         boolean shared,
                         String serviceSubType,
                         JeeType jeeType)
Method Detail

getHost

public String getHost()
Returns the host of where the service is running on.


getPort

public int getPort()
Returns the port of where the service is running on.


getSslPort

public int getSslPort()
Returns the ssl port of where the service is running on.


getContextPath

public String getContextPath()
Returns the context path of the web application.


isShared

public boolean isShared()
Returns true if this web service is running on a shared instance of a web container. false if the web application instance is running on its own dedicated web container.


writeExternal

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

readExternal

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

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.