code: private static void setPermissions(DataFormatDefinition dformatDefinition) {
          // Use Java Reflection to get the method setPermissions. This is done to allow compatibility between fuse 6.3 and fuse 6.2.1
          // The xstream library differs on version between the 6.2.1 and 6.3 version of fuse.
          Method setPermissions = null;
          try {
              setPermissions = dformatDefinition.getClass().getMethod("setPermissions", String.class);
          } catch (Exception e) {
          }
  
          if (setPermissions != null) {
              try {
                  setPermissions.invoke(dformatDefinition, "+*");
              } catch (Exception e) {
              }
          }
      }
docs: Sets the permissions on the DataFormatDefinition object in case the setPermitions method exists inside of the DataFormatDefinition class. As this KiePolicy class could
  be used in different environments (Fuse 6.2.1, Fuse 6.3), the XStream library could not have this method in their API.
  
  @param dformatDefinition the data format definitoin