@Override
  public void toData(DataOutput out,
      SerializationContext context) throws IOException {

    DataSerializer.writePrimitiveBoolean(notificationEmitter, out);
    DataSerializer.writeString(interfaceClassName, out);
    DataSerializer.writeHashMap(objectState, out);
    DataSerializer.writeString(objectName, out);
  }
Managing node will get Object state by calling this method

@return value of the given property
geode-core/src/main/java/org/apache/geode/management/internal/FederationComponent.java