org.datanucleus.plugin
Class PluginRegistryFactory

java.lang.Object
  extended by org.datanucleus.plugin.PluginRegistryFactory

public class PluginRegistryFactory
extends java.lang.Object

Factory for PluginRegistry. Creates an instance of PluginRegistry based on the available PluginRegistry implementation in the Core classpath


Field Summary
protected static Localiser LOCALISER
           
 
Constructor Summary
PluginRegistryFactory()
           
 
Method Summary
static PluginRegistry newPluginRegistry(PersistenceConfiguration conf, ClassLoaderResolver clr)
          Instantiates a PluginRegistry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALISER

protected static final Localiser LOCALISER
Constructor Detail

PluginRegistryFactory

public PluginRegistryFactory()
Method Detail

newPluginRegistry

public static PluginRegistry newPluginRegistry(PersistenceConfiguration conf,
                                               ClassLoaderResolver clr)
Instantiates a PluginRegistry. If the JPOX Core is deployed as an eclipse plugin, uses the Eclipse OSGI Registry to find other JPOX plug-ins

Parameters:
conf - the PersistenceConfiguration
clr - the ClassLoaderResolver
Returns:
instance of the PluginRegistry


Copyright © 2010. All Rights Reserved.