FileDocCategorySizeDatePackage
PersistenceManagerServiceImpl.javaAPI DocGlassfish v2 API4078Fri May 04 22:35:04 BST 2007com.sun.jdo.spi.persistence.support.sqlstore.ejb

PersistenceManagerServiceImpl

public class PersistenceManagerServiceImpl extends com.sun.appserv.server.ServerLifecycleImpl
This class extends the default implementation of the ServerLifecycle interface and allows to load Sun specific implementation of the TransactionHelper as a part of Sun - Server Lifecycle process. This class does not need to do any processing for the Server Lifecycle events other than load the necessary class.

Fields Summary
private static final Class
helper
private static final Class
listener
Constructors Summary
Methods Summary
private static java.lang.ClassforceInit(java.lang.Class klass)
Forces the initialization of the class pertaining to the specified Class object. This method does nothing if the class is already initialized prior to invocation.

param
klass the class for which to force initialization
return
klass


                                             
          
        try {
            Class.forName(klass.getName(), true, klass.getClassLoader());
        } catch (ClassNotFoundException e) {
            throw new AssertionError(e);  // Can't happen
        }
        return klass;
    
private static java.lang.ClassforceInit(java.lang.String klassName)

        Class klass;
        try {
            klass = Class.forName(klassName);
        } catch (ClassNotFoundException e) {
            throw new AssertionError(e);  // Can't happen
        }
        return klass;