org.openspaces.pu.container.jee
Class JeeServiceDetails
java.lang.Object
org.openspaces.pu.service.PlainServiceDetails
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
ID
public static final String ID
- See Also:
- Constant Field Values
SERVICE_TYPE
public static final String SERVICE_TYPE
- See Also:
- Constant Field Values
JeeServiceDetails
public JeeServiceDetails()
JeeServiceDetails
public JeeServiceDetails(String host,
int port,
int sslPort,
String contextPath,
boolean shared,
String serviceSubType,
JeeType jeeType)
getHost
public String getHost()
- Returns the host of where the service is running on.
getPort
public Integer getPort()
- Returns the port of where the service is running on.
getSslPort
public Integer 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
Copyright © GigaSpaces.