java.lang.Object
com.zeroc.IceGrid.ServiceInstanceDescriptor
- All Implemented Interfaces:
Serializable,Cloneable
Describes an IceBox service.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::ServiceInstanceDescriptor.
- 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 aServiceInstanceDescriptorwith values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static ServiceInstanceDescriptorice_read(InputStream istr) Unmarshals aServiceInstanceDescriptorfrom an input stream.static Optional<ServiceInstanceDescriptor>ice_read(InputStream istr, int tag) Unmarshals an optionalServiceInstanceDescriptorfrom an input stream.voidice_readMembers(InputStream istr) Unmarshals and sets this object's fields from an input stream.static voidice_write(OutputStream ostr, int tag, ServiceInstanceDescriptor v) Marshals an optionalServiceInstanceDescriptorinto an output stream.static voidice_write(OutputStream ostr, int tag, Optional<ServiceInstanceDescriptor> v) Marshals an optionalServiceInstanceDescriptorinto an output stream.static voidMarshals aServiceInstanceDescriptorinto an output stream.voidice_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 aServiceInstanceDescriptorwith 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 aServiceInstanceDescriptorinto an output stream.- Parameters:
ostr- the output streamv- theServiceInstanceDescriptorto marshal
-
ice_read
Unmarshals aServiceInstanceDescriptorfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
ServiceInstanceDescriptor
-
ice_write
Marshals an optionalServiceInstanceDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalServiceInstanceDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalServiceInstanceDescriptorfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-