01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.openejb.core;
17:
18: public class EnvProps {
19:
20: public final static String IM_CLASS_NAME = "InstanceManager";
21:
22: public final static String IM_TIME_OUT = "TimeOut";
23:
24: public final static String IM_PASSIVATOR_PATH_PREFIX = "org/openejb/core/InstanceManager/PASSIVATOR_PATH_PREFIX";
25:
26: public final static String IM_POOL_SIZE = "PoolSize";
27:
28: public final static String IM_PASSIVATE_SIZE = "BulkPassivate";
29:
30: public final static String IM_PASSIVATOR = "Passivator";
31:
32: public final static String IM_CONCURRENT_ATTEMPTS = "org/openejb/core/InstanceManager/CONCURRENT_ATTEMPTS";
33:
34: public final static String IM_STRICT_POOLING = "StrictPooling";
35:
36: /*
37: * The EJB 1.1 specification requires that arguments and return values between beans adhere to the
38: * Java RMI copy semantics which requires that the all arguments be passed by value (copied) and
39: * never passed as references. However, it is possible for the system administrator to turn off the
40: * copy operation so that arguments and return values are passed by reference as a performance optimization.
41: * Simply setting the org.apache.openejb.core.EnvProps.INTRA_VM_COPY property to FALSE will cause
42: * IntraVM to bypass the copy operations; arguments and return values will be passed by reference not value.
43: * This property is, by default, alwasy TRUE but it can be changed to FALSE by setting it as a System property
44: * or a property of the Property argument when invoking OpenEJB.init(props).
45: */
46: public final static String INTRA_VM_COPY = "org/openejb/core/ivm/BaseEjbProxyHandler/INTRA_VM_COPY";
47:
48: public static final String JDBC_DRIVER = "JdbcDriver";
49:
50: public static final String JDBC_URL = "JdbcUrl";
51:
52: public static final String USER_NAME = "UserName";
53:
54: public static final String PASSWORD = "Password";
55: }
|