[jboss-cvs] jboss-seam-tools/src/java/org/jboss/seam/tools/context ...

Thomas Heute theute at jboss.com
Mon Aug 14 11:57:44 EDT 2006


  User: theute  
  Date: 06/08/14 11:57:44

  Added:       src/java/org/jboss/seam/tools/context      RootContext.java
                        Context.java EarContext.java WebContext.java
                        EjbContext.java
  Log:
  Moved to hibernate Tools
  
  (ban cvs imports)
  
  Revision  Changes    Path
  1.1      date: 2006/08/14 15:57:44;  author: theute;  state: Exp;jboss-seam-tools/src/java/org/jboss/seam/tools/context/RootContext.java
  
  Index: RootContext.java
  ===================================================================
  /*
   * JBoss, Home of Professional Open Source
   * Copyright 2005, JBoss Inc., and individual contributors as indicated
   * by the @authors tag. See the copyright.txt in the distribution for a
   * full listing of individual contributors.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
   * the License, or (at your option) any later version.
   *
   * This software is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   * Lesser General Public License for more details.
   *
   * You should have received a copy of the GNU Lesser General Public
   * License along with this software; if not, write to the Free
   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
   */
  package org.jboss.seam.tools.context;
  
  /**
   * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
   * @version <tt>$Revision: 1.1 $</tt>
   */
  public class RootContext {
  
  }
  
  
  
  1.1      date: 2006/08/14 15:57:44;  author: theute;  state: Exp;jboss-seam-tools/src/java/org/jboss/seam/tools/context/Context.java
  
  Index: Context.java
  ===================================================================
  /*
   * JBoss, Home of Professional Open Source
   * Copyright 2005, JBoss Inc., and individual contributors as indicated
   * by the @authors tag. See the copyright.txt in the distribution for a
   * full listing of individual contributors.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
   * the License, or (at your option) any later version.
   *
   * This software is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   * Lesser General Public License for more details.
   *
   * You should have received a copy of the GNU Lesser General Public
   * License along with this software; if not, write to the Free
   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
   */
  package org.jboss.seam.tools.context;
  
  /**
   * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
   * @version <tt>$Revision: 1.1 $</tt>
   */
  public class Context {
  
  	/**
  	 * File structure
  	 */
  	private String structure;
  	
  	/**
  	 * Create Eclipse project files
  	 */
  	private boolean eclipseSupport = false;
  	
  	/**
  	 * Build required elements for testing environment
  	 */
  	private boolean testSupport = true;
  	
  	/**
  	 * Support for Facelets
  	 */
  	private boolean faceletsSupport = false;
  	
  	/**
  	 * Directory path where Seam in installed
  	 */
  	private String seamLocation;
  	
  	/**
  	 * Add a basic project with JSF files, java files and test files (if testSupport is true)
  	 */
  	private boolean basicProject = false;
  	
  	/**
  	 * isolation classloading name (jboss-app.xml)
  	 */
  	private String isolationClassLoadingName;
  	
  	/**
  	 * directory where to create the projects
  	 */
  	private String outputLocation;
  	
  	/**
  	 * Build required elements for debugging
  	 */
  	private boolean debug = true;
  	
  	/**
  	 * 
  	 */
  	private boolean myFacesLifecycleBug;
  	
  	/**
  	 * Default conversation timeout
  	 */
  	private String conversationTimeout = "30000";
  	
  	private boolean embeddedEJB = false;
  	
  	private String srcPackage;
  	
  	private String testPackage;
  	
  	private String projectName;
  
  	public String getStructure() {
  		return structure;
  	}
  
  	public void setStructure(String structure) {
  		this.structure = structure;
  	}
  
  	public String getConversationTimeout() {
  		return conversationTimeout;
  	}
  
  	public void setConversationTimeout(String conversationTimeout) {
  		this.conversationTimeout = conversationTimeout;
  	}
  
  	public void setEclipseSupport(boolean eclipseSupport) {
  		this.eclipseSupport = eclipseSupport;
  	}
  
  	public boolean getEclipseSupport() {
  		return eclipseSupport;
  	}
  
  	public boolean isTestSupport() {
  		return testSupport;
  	}
  
  	public void setTestSupport(boolean testSupport) {
  		this.testSupport = testSupport;
  	}
  
  	public boolean isFaceletsSupport() {
  		return faceletsSupport;
  	}
  
  	public void setFaceletsSupport(boolean faceletsSupport) {
  		this.faceletsSupport = faceletsSupport;
  	}
  
  	public boolean isBasicProject() {
  		return basicProject;
  	}
  
  	public void setBasicProject(boolean basicProject) {
  		this.basicProject = basicProject;
  	}
  
  	public String getIsolationClassLoadingName() {
  		return isolationClassLoadingName;
  	}
  
  	public void setIsolationClassLoadingName(String isolationClassLoadingName) {
  		this.isolationClassLoadingName = isolationClassLoadingName;
  	}
  
  	public String getOutputLocation() {
  		return outputLocation;
  	}
  
  	public void setOutputLocation(String outputLocation)
  	{
  		this.outputLocation = outputLocation;
  	}
  
  	public boolean isDebug() {
  		return debug;
  	}
  
  	public void setDebug(boolean debug) {
  		this.debug = debug;
  	}
  
  	public boolean isMyFacesLifecycleBug() {
  		return myFacesLifecycleBug;
  	}
  
  	public void setMyFacesLifecycleBug(boolean myFacesLifecycleBug) {
  		this.myFacesLifecycleBug = myFacesLifecycleBug;
  	}
  
  	public boolean isEmbeddedEJB() {
  		return embeddedEJB;
  	}
  
  	public void setEmbeddedEJB(boolean embeddedEJB) {
  		this.embeddedEJB = embeddedEJB;
  	}
  
  	public String getSeamLocation() {
  		return seamLocation;
  	}
  
  	public void setSeamLocation(String seamLocation) {
  		this.seamLocation = seamLocation;
  	}
  
  	public String getSrcPackage() {
  		return srcPackage;
  	}
  
  	public void setSrcPackage(String srcPackage) {
  		this.srcPackage = srcPackage;
  	}
  
  	public String getTestPackage() {
  		return testPackage;
  	}
  
  	public void setTestPackage(String testPackage) {
  		this.testPackage = testPackage;
  	}
  
  	public String getProjectName() {
  		return projectName;
  	}
  
  	public void setProjectName(String projectName) {
  		this.projectName = projectName;
  	}
  }
  
  
  
  1.1      date: 2006/08/14 15:57:44;  author: theute;  state: Exp;jboss-seam-tools/src/java/org/jboss/seam/tools/context/EarContext.java
  
  Index: EarContext.java
  ===================================================================
  /*
   * JBoss, Home of Professional Open Source
   * Copyright 2005, JBoss Inc., and individual contributors as indicated
   * by the @authors tag. See the copyright.txt in the distribution for a
   * full listing of individual contributors.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
   * the License, or (at your option) any later version.
   *
   * This software is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   * Lesser General Public License for more details.
   *
   * You should have received a copy of the GNU Lesser General Public
   * License along with this software; if not, write to the Free
   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
   */
  package org.jboss.seam.tools.context;
  
  /**
   * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
   * @version <tt>$Revision: 1.1 $</tt>
   */
  public class EarContext {
  	
  	private String contentDirectory;
  	
  	private String displayName;
  	
  	private String projectName;
  	
  	private String filename;
  	
  	public String getFilename() {
  		return filename;
  	}
  
  	public void setFilename(String filename) {
  		this.filename = filename;
  	}
  
  	public String getProjectName() {
  		return projectName;
  	}
  
  	public void setProjectName(String projectName) {
  		this.projectName = projectName;
  	}
  
  	public String getContentDirectory() {
  		return contentDirectory;
  	}
  
  	public void setContentDirectory(String contentDirectory) {
  		this.contentDirectory = contentDirectory;
  	}
  	
  	public String getDisplayName() {
  		return displayName;
  	}
  
  	public void setDisplayName(String displayName) {
  		this.displayName = displayName;
  	}
  }
  
  
  
  1.1      date: 2006/08/14 15:57:44;  author: theute;  state: Exp;jboss-seam-tools/src/java/org/jboss/seam/tools/context/WebContext.java
  
  Index: WebContext.java
  ===================================================================
  /*
   * JBoss, Home of Professional Open Source
   * Copyright 2005, JBoss Inc., and individual contributors as indicated
   * by the @authors tag. See the copyright.txt in the distribution for a
   * full listing of individual contributors.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
   * the License, or (at your option) any later version.
   *
   * This software is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   * Lesser General Public License for more details.
   *
   * You should have received a copy of the GNU Lesser General Public
   * License along with this software; if not, write to the Free
   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
   */
  package org.jboss.seam.tools.context;
  
  /**
   * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
   * @version <tt>$Revision: 1.1 $</tt>
   */
  public class WebContext {
  	
  	private String contextRoot;
  	
  	private String contentDirectory;
  	
  	private String seamExtension = "seam";
  	
  	private String jsfExtension = "xhtml";
  	
  	private String projectName;
  	
  	private String filename;
  	
  	private String id;
  	
  	public String getId() {
  		return id;
  	}
  
  	public void setId(String id) {
  		this.id = id;
  	}
  
  	public String getFilename() {
  		return filename;
  	}
  
  	public void setFilename(String filename) {
  		this.filename = filename;
  	}
  
  	public String getContextRoot() {
  		return contextRoot;
  	}
  
  	public void setContextRoot(String contextRoot) {
  		this.contextRoot = contextRoot;
  	}
  	
  	public String getContentDirectory() {
  		return contentDirectory;
  	}
  
  	public void setContentDirectory(String contentDirectory) {
  		this.contentDirectory = contentDirectory;
  	}
  	
  	public String getSeamExtension() {
  		return seamExtension;
  	}
  
  	public void setSeamExtension(String seamExtension) {
  		this.seamExtension = seamExtension;
  	}
  
  	public String getJsfExtension() {
  		return jsfExtension;
  	}
  
  	public void setJsfExtension(String jsfExtension) {
  		this.jsfExtension = jsfExtension;
  	}
  
  	public String getProjectName() {
  		return projectName;
  	}
  
  	public void setProjectName(String projectName) {
  		this.projectName = projectName;
  	}
  }
  
  
  
  1.1      date: 2006/08/14 15:57:44;  author: theute;  state: Exp;jboss-seam-tools/src/java/org/jboss/seam/tools/context/EjbContext.java
  
  Index: EjbContext.java
  ===================================================================
  /*
   * JBoss, Home of Professional Open Source
   * Copyright 2005, JBoss Inc., and individual contributors as indicated
   * by the @authors tag. See the copyright.txt in the distribution for a
   * full listing of individual contributors.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
   * the License, or (at your option) any later version.
   *
   * This software is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   * Lesser General Public License for more details.
   *
   * You should have received a copy of the GNU Lesser General Public
   * License along with this software; if not, write to the Free
   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
   */
  package org.jboss.seam.tools.context;
  
  /**
   * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
   * @version <tt>$Revision: 1.1 $</tt>
   */
  public class EjbContext {
  
  	private String contentDirectory;
  
  	private String persistenceUnitName;
  
  	private String jtaDataSource;
  	
  	private String filename;
  	
  	private String projectName;
  	
  	private String id;
  
  	public String getId() {
  		return id;
  	}
  
  	public void setId(String id) {
  		this.id = id;
  	}
  
  	public String getProjectName() {
  		return projectName;
  	}
  
  	public void setProjectName(String projectName) {
  		this.projectName = projectName;
  	}
  
  	public String getFilename() {
  		return filename;
  	}
  
  	public void setFilename(String filename) {
  		this.filename = filename;
  	}
  
  	public String getContentDirectory() {
  		return contentDirectory;
  	}
  
  	public void setContentDirectory(String contentDirectory) {
  		this.contentDirectory = contentDirectory;
  	}
  
  	
  	public String getPersistenceUnitName() {
  		return persistenceUnitName;
  	}
  
  	public void setPersistenceUnitName(String persistenceUnitName) {
  		this.persistenceUnitName = persistenceUnitName;
  	}
  
  	public String getJtaDataSource() {
  		return jtaDataSource;
  	}
  
  	public void setJtaDataSource(String jtaDataSource) {
  		this.jtaDataSource = jtaDataSource;
  	}
  	
  }
  
  
  



More information about the jboss-cvs-commits mailing list