org.datanucleus.util
Class EntityResolverFactory

java.lang.Object
  extended by org.datanucleus.util.EntityResolverFactory

public class EntityResolverFactory
extends java.lang.Object

Factory for Entity Resolvers. This factory holds a cache of resolvers, so we only ever have one of each type.


Method Summary
static org.xml.sax.EntityResolver getInstance(PluginManager pluginManager, java.lang.String handlerName)
          Factory method for EntityResolver instances
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static org.xml.sax.EntityResolver getInstance(PluginManager pluginManager,
                                                     java.lang.String handlerName)
                                              throws java.lang.SecurityException,
                                                     java.lang.IllegalArgumentException,
                                                     java.lang.ClassNotFoundException,
                                                     java.lang.NoSuchMethodException,
                                                     java.lang.InstantiationException,
                                                     java.lang.IllegalAccessException,
                                                     java.lang.reflect.InvocationTargetException
Factory method for EntityResolver instances

Parameters:
pluginManager - the pluginManager
handlerName - the handler name
Returns:
The EntityResolver instance for this handler name
Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.NoSuchMethodException
java.lang.ClassNotFoundException
java.lang.IllegalArgumentException
java.lang.SecurityException


Copyright © 2009. All Rights Reserved.