public final class BeeDataSourceFactory extends Object implements ObjectFactory
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment) throws Exception
getObjectInstance 在接口中 ObjectFactoryobj - The possibly null object containing location or reference
information that can be used in creating an object.name - The name of this object relative to nameCtx, or
null if no name is specified.nameCtx - The context relative to which the name parameter
is specified, or null if name is relative to the
default initial context.environment - The possibly null environment that is used in creating the
object.ExceptionNamingManager.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable<?, ?>),
NamingManager.getURLContext(java.lang.String, java.util.Hashtable<?, ?>)Copyright © 2023. All rights reserved.