private String[] getContextFolders() {
    final StandaloneContext context = new StandaloneContext();
    context.setContextFoldersAsCSV(contextFoldersAsCSV);
    return context.getContextFolders();
  }
private String [ ] getContextFolders ( ) { final StandaloneContext context = new StandaloneContext ( ) ; context . setContextFoldersAsCSV ( contextFoldersAsCSV ) ; return context . getContextFolders ( ) ; }
Use {@link StandaloneContext} to tokenize the contextFoldersAsCSV value.