|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.props.AbstractPropertySource<PooledConnectionFactory>
org.ldaptive.props.PooledConnectionFactoryPropertySource
public final class PooledConnectionFactoryPropertySource
Reads properties specific to PooledConnectionFactory and returns an
initialized object of that type.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.ldaptive.props.PropertySource |
|---|
PropertySource.PropertyDomain |
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.props.AbstractPropertySource |
|---|
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain |
| Constructor Summary | |
|---|---|
PooledConnectionFactoryPropertySource(PooledConnectionFactory cf)
Creates a new pooled connection factory property source using the default properties file. |
|
PooledConnectionFactoryPropertySource(PooledConnectionFactory cf,
Properties props)
Creates a new pooled connection factory property source. |
|
PooledConnectionFactoryPropertySource(PooledConnectionFactory cf,
PropertySource.PropertyDomain domain,
Properties props)
Creates a new pooled connection factory property source. |
|
PooledConnectionFactoryPropertySource(PooledConnectionFactory cf,
Reader... readers)
Creates a new pooled connection factory property source. |
|
PooledConnectionFactoryPropertySource(PooledConnectionFactory cf,
String... paths)
Creates a new pooled connection factory property source. |
|
| Method Summary | |
|---|---|
ConnectionPoolType |
getPoolType()
Returns the pool type. |
static Set<String> |
getProperties()
Returns the property names for this property source. |
void |
initialize()
Initializes the object for this property source. |
void |
setPoolType(ConnectionPoolType pt)
|
| Methods inherited from class org.ldaptive.props.AbstractPropertySource |
|---|
initializeObject, loadProperties, loadProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PooledConnectionFactoryPropertySource(PooledConnectionFactory cf)
cf - connection factory to invoke properties on
public PooledConnectionFactoryPropertySource(PooledConnectionFactory cf,
String... paths)
cf - connection factory to invoke properties onpaths - to read properties from
public PooledConnectionFactoryPropertySource(PooledConnectionFactory cf,
Reader... readers)
cf - connection factory to invoke properties onreaders - to read properties from
public PooledConnectionFactoryPropertySource(PooledConnectionFactory cf,
Properties props)
cf - connection factory to invoke properties onprops - to read properties from
public PooledConnectionFactoryPropertySource(PooledConnectionFactory cf,
PropertySource.PropertyDomain domain,
Properties props)
cf - connection factory to invoke properties ondomain - that properties are inprops - to read properties from| Method Detail |
|---|
public ConnectionPoolType getPoolType()
public void setPoolType(ConnectionPoolType pt)
pt - pool typepublic void initialize()
public static Set<String> getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||