java.lang.Object
com.zeroc.IceGrid.ServiceInstanceDescriptor
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an IceBox service.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe service definition if the instance isn't a template instance (i.e.: if the template attribute is empty).The template parameter values.The property set.The template used by this instance. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aServiceInstanceDescriptor
.ServiceInstanceDescriptor
(String template, Map<String, String> parameterValues, ServiceDescriptor descriptor, PropertySetDescriptor propertySet) Constructs aServiceInstanceDescriptor
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static ServiceInstanceDescriptor
ice_read
(InputStream istr) Unmarshals aServiceInstanceDescriptor
from an input stream.static Optional<ServiceInstanceDescriptor>
ice_read
(InputStream istr, int tag) Unmarshals an optionalServiceInstanceDescriptor
from an input stream.void
ice_readMembers
(InputStream istr) Unmarshals and sets this object's fields from an input stream.static void
ice_write
(OutputStream ostr, int tag, ServiceInstanceDescriptor v) Marshals an optionalServiceInstanceDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<ServiceInstanceDescriptor> v) Marshals an optionalServiceInstanceDescriptor
into an output stream.static void
Marshals aServiceInstanceDescriptor
into an output stream.void
ice_writeMembers
(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
template
The template used by this instance. It's empty when this instance does not use a template. -
parameterValues
The template parameter values. -
descriptor
The service definition if the instance isn't a template instance (i.e.: if the template attribute is empty). -
propertySet
The property set.
-
-
Constructor Details
-
ServiceInstanceDescriptor
public ServiceInstanceDescriptor()Constructs aServiceInstanceDescriptor
. -
ServiceInstanceDescriptor
public ServiceInstanceDescriptor(String template, Map<String, String> parameterValues, ServiceDescriptor descriptor, PropertySetDescriptor propertySet) Constructs aServiceInstanceDescriptor
with values for all its fields.- Parameters:
template
- The template used by this instance.parameterValues
- The template parameter values.descriptor
- The service definition if the instance isn't a template instance (i.e.: if the template attribute is empty).propertySet
- The property set.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
clone
-
ice_writeMembers
Marshals this object's fields into an output stream.- Parameters:
ostr
- the output stream
-
ice_readMembers
Unmarshals and sets this object's fields from an input stream.- Parameters:
istr
- the input stream
-
ice_write
Marshals aServiceInstanceDescriptor
into an output stream.- Parameters:
ostr
- the output streamv
- theServiceInstanceDescriptor
to marshal; can be null
-
ice_read
Unmarshals aServiceInstanceDescriptor
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
ServiceInstanceDescriptor
-
ice_write
Marshals an optionalServiceInstanceDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalServiceInstanceDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalServiceInstanceDescriptor
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-