Class SerializationRegistrationType

java.lang.Object
org.apache.geode.cache.configuration.SerializationRegistrationType

@Experimental public class SerializationRegistrationType extends Object
A serialization-registration contains a set of serializer or instantiator tags to register customer DataSerializer extensions or DataSerializable implementations respectively.

Java class for serialization-registration-type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="serialization-registration-type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="serializer" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="class-name" type="{http://geode.apache.org/schema/cache}class-name-type"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="instantiator" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="class-name" type="{http://geode.apache.org/schema/cache}class-name-type"/>
                 </sequence>
                 <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • SerializationRegistrationType

      public SerializationRegistrationType()
  • Method Details

    • getSerializers

      Gets the value of the serializer property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the serializer property.

      For example, to add a new item, do as follows:

       getSerializer().add(newItem);
       

      Objects of the following type(s) are allowed in the list SerializationRegistrationType.Serializer

      Returns:
      the value of the serializer property
    • getInstantiators

      Gets the value of the instantiator property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the instantiator property.

      For example, to add a new item, do as follows:

       getInstantiator().add(newItem);
       

      Objects of the following type(s) are allowed in the list SerializationRegistrationType.Instantiator

      Returns:
      the value of the instantiator property