Package org.openspaces.pu.container.jee
Class JeeServiceDetails
java.lang.Object
org.openspaces.pu.service.PlainServiceDetails
org.openspaces.pu.container.jee.JeeServiceDetails
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable,ServiceDetails
A service that holds a jee container (such as jetty).
- Author:
- kimchy
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.openspaces.pu.service.PlainServiceDetails
attributes, description, id, longDescription, serviceSubType, serviceType -
Constructor Summary
ConstructorsConstructorDescriptionJeeServiceDetails(String host, int port, int sslPort, String contextPath, boolean shared, String serviceSubType, JeeType jeeType, int sslConnectorPort) -
Method Summary
Modifier and TypeMethodDescriptionReturns the context path of the web application.getHost()Returns the host of where the service is running on.getPort()Returns the port of where the service is running on.Returns the port defined in SSL connector, if SSl connector was not provided then 0 returnedReturns the ssl port of where the service is running on.isShared()Returnstrueif this web service is running on a shared instance of a web container.voidvoidMethods inherited from class org.openspaces.pu.service.PlainServiceDetails
aggregateById, aggregateByServiceSubType, aggregateByServiceType, getAttributes, getDescription, getId, getLongDescription, getServiceSubType, getServiceType, toStringMethods 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
- See Also:
-
SERVICE_TYPE
- See Also:
-
-
Constructor Details
-
JeeServiceDetails
public JeeServiceDetails() -
JeeServiceDetails
-
-
Method Details
-
getHost
Returns the host of where the service is running on. -
getPort
Returns the port of where the service is running on. -
getSslPort
Returns the ssl port of where the service is running on. -
getSslConnectorPort
Returns the port defined in SSL connector, if SSl connector was not provided then 0 returned -
getContextPath
Returns the context path of the web application. -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classPlainServiceDetails- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classPlainServiceDetails- Throws:
IOExceptionClassNotFoundException
-