Examples of ApplicationUtils


Examples of edu.indiana.extreme.gfac.beanutils.ApplicationUtils

   */
  public ServiceBean() throws Exception{
    super();
    infoUtils = new ServiceUtils();
    methodBean = new MethodBean();
    applicationUtils = new ApplicationUtils();
    if(super.getContext() != null){
    if(super.getContext().getRegService() != null){
    applicationList(super.getContext().getRegService());
    }else{
      applicationOptions = new ArrayList<SelectItem>();
View Full Code Here

Examples of edu.indiana.extreme.gfac.beanutils.ApplicationUtils

   */
  public ServiceBean(ApplicationGlobalContext globalContext)throws Exception{
    super(globalContext);
    infoUtils = new ServiceUtils();
    methodBean = new MethodBean();
    applicationUtils = new ApplicationUtils();
    if(super.getContext().getRegService() != null){
      applicationList(super.getContext().getRegService());
    }else{
      applicationOptions = new ArrayList<SelectItem>();
    }
View Full Code Here

Examples of edu.indiana.extreme.gfac.beanutils.ApplicationUtils

     */
    public void setOperations(ArrayList<Object> operations) {
        this.operations = operations;
    }
    public ApplicationBean getExistingApplication(ApplicationGlobalContext context, String applicationName) throws GfacGUIException,GfacException{
         ApplicationUtils appInfoUtils = new ApplicationUtils();
             return(ApplicationBean)appInfoUtils.getBeanObjectInfo(context.getRegService(), applicationName);
    }
View Full Code Here

Examples of edu.indiana.extreme.gfac.beanutils.ApplicationUtils

      String leadNameListFile, String projectName ) throws GfacGUIException,GfacException{
      ApplicationBean application = new ApplicationBean( applicationName, hostName,
          executable,  workDir, tmpDir, jobType,
          query, maxWallTime, pcount,
          leadNameListFile, projectName);
      ApplicationUtils appInfoUtils = new ApplicationUtils();
      appInfoUtils.createObject(context.getRegService(), application);
         return application;
}
View Full Code Here

Examples of edu.indiana.extreme.gfac.beanutils.ApplicationUtils

   * Constructs a ApplicationBean.
   *
   */
  public ApplicationBean() throws Exception{
    super();
    infoUtils = new ApplicationUtils();
    hostUtils = new HostUtils();
    projectNameItems = new ArrayList<SelectItem>();
    if(super.getContext() != null){
    populateProjectNameItems();
    }else{
View Full Code Here

Examples of edu.indiana.extreme.gfac.beanutils.ApplicationUtils

   *
   * @param globalContext
   */
  public ApplicationBean(ApplicationGlobalContext globalContext) throws Exception{
    super.setContext(globalContext);
    infoUtils = new ApplicationUtils();
    hostUtils = new HostUtils();

  }
View Full Code Here

Examples of org.richfaces.photoalbum.util.ApplicationUtils

    private static final long serialVersionUID = 1L;
    private PhaseId phase = PhaseId.RESTORE_VIEW;

    public void beforePhase(PhaseEvent e) {
        ApplicationUtils utils = getUtils();
        utils.fireCheckUserExpiredEvent();
    }
View Full Code Here

Examples of org.richfaces.photoalbum.util.ApplicationUtils

    private ApplicationUtils getUtils() {
        BeanManager bm = getBeanManager();
        Bean<ApplicationUtils> bean = (Bean<ApplicationUtils>) bm.getBeans(ApplicationUtils.class).iterator().next();
        CreationalContext<ApplicationUtils> ctx = bm.createCreationalContext(bean);
        ApplicationUtils utils = (ApplicationUtils) bm.getReference(bean, ApplicationUtils.class, ctx);
            // this could be inlined, but intentionally left this way
        return utils;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.