01: /**********************************************************************
02: Copyright (c) 2002 Kelly Grizzle and others. All rights reserved.
03: Licensed under the Apache License, Version 2.0 (the "License");
04: you may not use this file except in compliance with the License.
05: You may obtain a copy of the License at
06:
07: http://www.apache.org/licenses/LICENSE-2.0
08:
09: Unless required by applicable law or agreed to in writing, software
10: distributed under the License is distributed on an "AS IS" BASIS,
11: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12: See the License for the specific language governing permissions and
13: limitations under the License.
14:
15: Contributors:
16: 2002 Mike Martin - unknown changes
17: 2003 Erik Bengtson - refactored the persistent id generator System property
18: 2003 Andy Jefferson - introduction of LOCALISER, and comments
19: 2003 Erik Bengtson - removed unused variables
20: 2004 Andy Jefferson - converted to use Logger
21: 2004 Andy Jefferson - removed autoCreate properties
22: 2004 Andy Jefferson - added readOnly
23: ...
24: **********************************************************************/package org.jpox;
25:
26: import org.jpox.jdo.JDOPersistenceManagerFactory;
27:
28: /**
29: * Implementation of a JDO PersistenceManagerFactory.
30: * Exists only for backwards compatibility sinec users will typically obtain a PMF using
31: * the name of this class.
32: * TODO Deprecate this
33: *
34: * @version $Revision: 1.82 $
35: */
36: public class PersistenceManagerFactoryImpl extends
37: JDOPersistenceManagerFactory {
38: /**
39: * Constructs a new PersistenceManagerFactoryImpl.
40: */
41: public PersistenceManagerFactoryImpl() {
42: super ();
43: }
44:
45: /**
46: * Convenience method to return a new PMF instance of this type.
47: * @return The PMF
48: */
49: public static JDOPersistenceManagerFactory createInstance() {
50: return new PersistenceManagerFactoryImpl();
51: }
52: }
|