public class CassandraClientJndiResourceFactory extends Object implements ObjectFactory
Keyspace references for passing to HFactory.
A limited set of configuration parameters are supported.
These parameters are defined in a web application's context.xml file.
Parameter descriptions can be found in CassandraHostConfigurator
| Constructor and Description |
|---|
CassandraClientJndiResourceFactory() |
public Object getObjectInstance(Object object, Name jndiName, Context context, Hashtable<?,?> environment) throws Exception
getObjectInstance in interface ObjectFactoryobject - The possibly null object containing location or reference information that
can be used in creating an object.jndiName - The name of this object relative to nameCtx, or null if no name is
specified.context - 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.Exception - - if this object factory encountered an exception while attempting
to create an object, and no other object factories are to be tried.Copyright © 2014. All Rights Reserved.