/** @return the applicationSessionInitializer. */
 public ApplicationSessionInitializer getApplicationSessionInitializer() {
   if (applicationSessionInitializer == null) {
     applicationSessionInitializer =
         Application.instance().getLifecycleAdvisor().getApplicationSessionInitializer();
   }
   return applicationSessionInitializer;
 }
 public void updateJob() {
   SessionManager sessionManager =
       (SessionManager) Application.services().getService(SessionManager.class);
   SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss", Locale.US);
   if (sessionManager.getUser() != null) {
     lbStaffValue.setText(sessionManager.getUser().getUserName());
     lbBOJValue.setText(sdf.format(new Date()));
   } else {
     lbBOJValue.setText("-");
     lbStaffValue.setText("-");
   }
 }
 public String getMessage(String code) {
   return Application.instance()
       .getApplicationContext()
       .getMessage(code, new Object[0], Locale.getDefault());
 }