Package org.ldaptive.props
Interface PropertyInvoker
-
- All Known Implementing Classes:
AbstractPropertyInvoker
,AuthenticationRequestPropertyInvoker
,AuthenticatorPropertyInvoker
,BeanGeneratorPropertyInvoker
,BindConnectionInitializerPropertyInvoker
,BlockingConnectionPoolPropertyInvoker
,CompareAuthenticationHandlerPropertyInvoker
,ConnectionConfigPropertyInvoker
,DefaultConnectionFactoryPropertyInvoker
,PooledConnectionFactoryPropertyInvoker
,SearchOperationFactoryPropertyInvoker
,SearchRequestPropertyInvoker
,SimpleBindAuthenticationHandlerPropertyInvoker
,SimplePropertyInvoker
,SslConfigPropertyInvoker
public interface PropertyInvoker
Interface for property driven object method invocation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getProperties()
Returns the property names for this invoker.boolean
hasProperty(String name)
Returns whether a property with the supplied name exists on this invoker.void
setProperty(Object object, String name, String value)
Invokes the setter method on the supplied object for the supplied property name and value.
-
-
-
Method Detail
-
setProperty
void setProperty(Object object, String name, String value)
Invokes the setter method on the supplied object for the supplied property name and value.- Parameters:
object
- to invoke property setter onname
- of the property to invokevalue
- of the property to set
-
hasProperty
boolean hasProperty(String name)
Returns whether a property with the supplied name exists on this invoker.- Parameters:
name
- of the property to check- Returns:
- whether a property with the supplied name exists on this invoker
-
-