djencks     2005/02/14 23:47:00

  Modified:    modules/openejb-builder/src/test/org/openejb/deployment
                        DeploymentHelper.java DeploymentTestContants.java
  Log:

  simple MEJB implementation, some changes to help MEJB deployment
  
  Revision  Changes    Path
  1.6       +4 -3      
openejb/modules/openejb-builder/src/test/org/openejb/deployment/DeploymentHelper.java
  
  Index: DeploymentHelper.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test/org/openejb/deployment/DeploymentHelper.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DeploymentHelper.java     22 Jan 2005 00:39:15 -0000      1.5
  +++ DeploymentHelper.java     15 Feb 2005 04:47:00 -0000      1.6
  @@ -83,8 +83,9 @@
    *
    * */
   public class DeploymentHelper {
  -    private static final String j2eeDomainName = "openejb.server";
  -    private static final String j2eeServerName = "TestOpenEJBServer";
  +    //these have to match the domain and server set in KernelHelper mock 
config store
  +    public static final String j2eeDomainName = "test";
  +    public static final String j2eeServerName = "bar";
       private static final String appName = NameFactory.NULL;
       private static final String moduleName = "MockRA";
       //type is random to look for problems.
  
  
  
  1.3       +3 -3      
openejb/modules/openejb-builder/src/test/org/openejb/deployment/DeploymentTestContants.java
  
  Index: DeploymentTestContants.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test/org/openejb/deployment/DeploymentTestContants.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DeploymentTestContants.java       14 Feb 2005 19:51:39 -0000      1.2
  +++ DeploymentTestContants.java       15 Feb 2005 04:47:00 -0000      1.3
  @@ -72,8 +72,8 @@
   public interface DeploymentTestContants {
       public static final ObjectName CONFIGURATION_OBJECT_NAME = 
IGNORE.createConfigurationObjectName();
       public static final ObjectName CONNECTION_OBJECT_NAME = 
IGNORE.createConnectionObjectName();
  -    public static final String DOMAIN_NAME = "test";
  -    public static final String SERVER_NAME = "bar";
  +    public static final String DOMAIN_NAME = DeploymentHelper.j2eeDomainName;
  +    public static final String SERVER_NAME = DeploymentHelper.j2eeServerName;
   
       public static final ResourceReferenceBuilder resourceReferenceBuilder = 
new ResourceReferenceBuilder() {
           public Reference createResourceRef(String containerId, Class iface) {
  
  
  

Reply via email to