All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.samples.dips.context.ContextUpdatePolicy
java.lang.Object
|
+----com.ibm.beans.samples.dips.context.ContextUpdatePolicy
- public class ContextUpdatePolicy
- extends Object
- implements Serializable
ContextUpdatePolicy class keeps a record of the methods that will cause
a context element to change. Each context element has an update policy as
a private member and provides getters and setters so ContextDip can manage
the update policy.
-
ContextUpdatePolicy()
- Constructs a ContextUpdatePolicy.
-
getPDforString(String)
- Provides access to the properties which trigger a context change
-
getUpdatePolicy()
- Provides access to the properties that trigger an annotation.
-
getUpdatePolicyOptions()
- Provides access to the available properties that can be
used to trigger an annotation.
-
initPolicyOptions(Object)
- Initializes the introspector to provide information
on what properties are available for a context update
policy.
-
setUpdatePolicy(String[])
- Sets the properties in the context policy using a String array.
ContextUpdatePolicy
public ContextUpdatePolicy()
- Constructs a ContextUpdatePolicy.
getUpdatePolicyOptions
public String[] getUpdatePolicyOptions()
- Provides access to the available properties that can be
used to trigger an annotation.
- Returns:
- String[]. An array of the properties as strings.
getUpdatePolicy
public String[] getUpdatePolicy()
- Provides access to the properties that trigger an annotation.
- Returns:
- String[]. An array of the properties as strings.
setUpdatePolicy
public void setUpdatePolicy(String updatePropertiesAsStrings[])
- Sets the properties in the context policy using a String array.
- Parameters:
- updatePolicyAsStrings - The array of strings representing
the properties in the context update policy.
initPolicyOptions
public void initPolicyOptions(Object bean)
- Initializes the introspector to provide information
on what properties are available for a context update
policy.
- Parameters:
- bean - The bean that the context dip listens to for property changes.
getPDforString
public PropertyDescriptor getPDforString(String s)
- Provides access to the properties which trigger a context change
- Parameters:
- s - A string which represents the property descriptor.
- Returns:
- PropertyDescriptor, the property descriptor for the string
provided.
All Packages Class Hierarchy This Package Previous Next Index