ARoad0.AcsAddon.Accbee.MySQL.gBaseBeanInfo
Class ResourceMySQLImplBeanInfo

java.lang.Object
  extended by java.beans.SimpleBeanInfo
      extended by ARoad0.gBaseBeanInfo.BasicImplBeanInfo
          extended by ARoad0.gBaseBeanInfo.ResourceImplBeanInfo
              extended by ARoad0.AcsAddon.Accbee.MySQL.gBaseBeanInfo.ResourceMySQLImplBeanInfo
All Implemented Interfaces:
BeanInfoPattern, java.beans.BeanInfo

public class ResourceMySQLImplBeanInfo
extends ResourceImplBeanInfo

This class is responsible for describing the MySQL resource. It adds a property descriptor for the ResourceImpl property 'InheritedTargetAclEntries', and uses the same event for the method getM_PrimaryTargetACLRights(). Add a panel group name to the property 'AclRights' to describe the MySQL ACLs. Remove the Basic tab 'Alias' and the Resource 'M_ConstrainedChildACS' property. Change the property descriptor of 'ParentNode' in ' ACL Inheritance '.


Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
ResourceMySQLImplBeanInfo()
           
 
Method Summary
 java.beans.BeanDescriptor getBeanDescriptor()
          Gets the description of the bean.
 java.beans.PropertyDescriptor[] getPropertyDescriptors()
          Adds a property descriptor for the ResourceImpl property 'InheritedTargetAclEntries'.
protected static java.beans.PropertyDescriptor[] getResourceMySQLPropertyDescriptors(java.beans.PropertyDescriptor[] _l_pdFromParent)
          Adds a property descriptor for the ResourceImpl property 'InheritedTargetAclEntries', and uses the same event for the method getM_PrimaryTargetACLRights().
 
Methods inherited from class ARoad0.gBaseBeanInfo.ResourceImplBeanInfo
getBaseBeanManagerBoundProperty, getBaseBeanManagerGetMethod, getBaseBeanManagerInstance, getCommonBeanDescriptor
 
Methods inherited from class java.beans.SimpleBeanInfo
getAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, loadImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.BeanInfo
getAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors
 

Constructor Detail

ResourceMySQLImplBeanInfo

public ResourceMySQLImplBeanInfo()
Method Detail

getBeanDescriptor

public java.beans.BeanDescriptor getBeanDescriptor()
Gets the description of the bean. The properties to handle in the GUI are set in the descriptor. They are get through BeanDescriptor.getValue().

Specified by:
getBeanDescriptor in interface java.beans.BeanInfo
Overrides:
getBeanDescriptor in class ResourceImplBeanInfo
Returns:
the bean descriptor

getPropertyDescriptors

public java.beans.PropertyDescriptor[] getPropertyDescriptors()
Adds a property descriptor for the ResourceImpl property 'InheritedTargetAclEntries'. Removes the Basic tab 'Alias' and the Resource 'M_ConstrainedChildACS' property. Calls getResourceMySQLPropertyDescriptors(). Called by BasesSetMySQLImpl.

Specified by:
getPropertyDescriptors in interface java.beans.BeanInfo
Overrides:
getPropertyDescriptors in class ResourceImplBeanInfo
Returns:
array of property descriptors

getResourceMySQLPropertyDescriptors

protected static java.beans.PropertyDescriptor[] getResourceMySQLPropertyDescriptors(java.beans.PropertyDescriptor[] _l_pdFromParent)
Adds a property descriptor for the ResourceImpl property 'InheritedTargetAclEntries', and uses the same event for the method getM_PrimaryTargetACLRights(). Add a panel group name to the property 'AclRights' to describe the MySQL ACLs. Remove the Basic tab 'Alias' and the Resource 'M_ConstrainedChildACS' property. Change the property descriptor of 'ParentNode' in ' ACL Inheritance '. Called by getPropertyDescriptors() and DirectoryMySQLImplBeanInfo. This is why the PropertyDescriptors set Resource or ResourceMySQL as class of the property. Caution: all the changes in this method have to be copied in ActorMySQLImplBeanInfo.

Parameters:
_l_pdFromParent - array from ResourceImplBeanInfo or DirectoryImplBeanInfo
Returns:
array of property descriptors