public static final class SqlMemberSource.ValuePoolFactoryFactory extends ObjectFactory.Singleton<SqlMemberSource.ValuePoolFactory>
Creates the ValuePoolFactory which is in turn used to create property-value maps for member properties.
The name of the ValuePoolFactory is drawn from
MondrianProperties.SqlMemberSourceValuePoolFactoryClass
in mondrian.properties. If unset, it defaults to
SqlMemberSource.NullValuePoolFactory
.
ObjectFactory.Context, ObjectFactory.Singleton<T>
singleInstance, testSingleInstance
Modifier and Type | Method and Description |
---|---|
protected SqlMemberSource.ValuePoolFactory |
getDefault(Class[] parameterTypes,
Object[] parameterValues)
For most uses (other than testing) this is the method that derived
classes implement that return the desired object.
|
protected StringProperty |
getStringProperty()
Return the
StringProperty associated with this factory. |
static SqlMemberSource.ValuePoolFactory |
getValuePoolFactory()
Access the
ValuePoolFactory instance. |
getObject, getTestObject
getClassName, getClassName, getObject, getObject, getObject, getObject, removeContext, restoreContext
public static SqlMemberSource.ValuePoolFactory getValuePoolFactory()
ValuePoolFactory
instance.Map
.protected StringProperty getStringProperty()
ObjectFactory
StringProperty
associated with this factory.getStringProperty
in class ObjectFactory<SqlMemberSource.ValuePoolFactory>
StringProperty
protected SqlMemberSource.ValuePoolFactory getDefault(Class[] parameterTypes, Object[] parameterValues) throws CreationException
ObjectFactory
getDefault
in class ObjectFactory<SqlMemberSource.ValuePoolFactory>
CreationException
- if unable to create the objectparameterTypes
- the class parameters that define the signature
of the constructor to useparameterValues
- the values to use to construct the current
instance of the object