code: public void addBehavior(String behaviorId, 
          String behaviorClass) {
  
          if (defaultApplication != null) {
              defaultApplication.addBehavior(behaviorId, behaviorClass);
          }
  
      }
docs: <p><span class="changed_added_2_0">Register</span> a new mapping
  of behavior id to the name of the corresponding
  {@link Behavior} class.  This allows subsequent calls
  to <code>createBehavior()</code> to serve as a factory for
  {@link Behavior} instances.</p>
  
  @param behaviorId The behavior id to be registered
  @param behaviorClass The fully qualified class name of the
  corresponding {@link Behavior} implementation
  
  @throws NullPointerException if <code>behaviorId</code>
  or <code>behaviorClass</code> is <code>null</code>
  
  @since 2.0