org.apache.beehive.controls.runtime.bean
Class ControlUtils

Object
  extended by ControlUtils

public final class ControlUtils
extends Object

Utilities used by the Controls runtime.


Method Summary
static String resolveDefaultBinding(String implBinding, String controlClass)
          Implements the default control implementation binding algorithm ( + "Impl" ).
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resolveDefaultBinding

public static String resolveDefaultBinding(String implBinding,
                                           String controlClass)
Implements the default control implementation binding algorithm ( + "Impl" ). See documentation for the org.apache.beehive.controls.api.bean.ControlInterface annotation.

Parameters:
implBinding - the value of the defaultBinding attribute returned from a ControlInterface annotation
controlClass - the actual name of the interface decorated by the ControlInterface annotation
Returns:
the resolved defaultBinding value