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 classpath.


Field Summary
protected static Localiser LOCALISER
           
 
Constructor Summary
PluginRegistryFactory()
           
 
Method Summary
static PluginRegistry newPluginRegistry(java.lang.String registryClassName, java.lang.String registryBundleCheck, 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(java.lang.String registryClassName,
                                               java.lang.String registryBundleCheck,
                                               ClassLoaderResolver clr)
Instantiates a PluginRegistry. If DN "core" is deployed as an eclipse plugin, uses the Eclipse OSGI Registry to find other DN plug-ins

Parameters:
registryClassName - Name of the registry
registryBundleCheck - What to do on check of bundles
clr - the ClassLoaderResolver
Returns:
instance of the PluginRegistry


Copyright © 2011. All Rights Reserved.