title: @BeforeStep annotated method not being called
body: <p>I am writing a spring batch job. But when this Archive class which implenets the tasklet interface in loaded, the method under the annotation @BeforeStep is not being called. Can anyone help me with  this ?
  Thank You</p>
  
  <pre><code>import java.io.File;
  import java.io.FileInputStream;
  import java.io.FileOutputStream;
  import java.io.IOException;
  import java.nio.file.Files;
  import java.nio.file.StandardCopyOption;
  import java.util.Calendar;
  import java.util.Locale;
  import java.util.TimeZone;
  import java.util.zip.ZipEntry;
  import java.util.zip.ZipOutputStream;
  
  import org.springframework.batch.core.JobExecution;
  import org.springframework.batch.core.StepContribution;
  import org.springframework.batch.core.StepExecution;
  import org.springframework.batch.core.annotation.BeforeStep;
  import org.springframework.batch.core.scope.context.ChunkContext;
  import org.springframework.batch.core.step.tasklet.Tasklet;
  import org.springframework.batch.item.ExecutionContext;
  import org.springframework.batch.repeat.RepeatStatus;
  
  
      public class Archive implements Tasklet{
          @Override
          public RepeatStatus execute(StepContribution arg0, ChunkContext arg1)
                  throws Exception {
  
              System.out.println("in execute method :)");
              return RepeatStatus.FINISHED;
          }
  
          @BeforeStep
          public void retrieveInterstepData(StepExecution stepExecution){
              JobExecution jobExecution = stepExecution.getJobExecution();
              ExecutionContext jobContext = jobExecution.getExecutionContext();
  
          }
      }
  </code></pre>