org.objectweb.speedo.lib
Class FractalHelper

java.lang.Object
  extended by org.objectweb.speedo.lib.FractalHelper

public class FractalHelper
extends java.lang.Object

This class provides static method for helping the use of Fractal.

Author:
S.Chassande-Barrioz

Constructor Summary
FractalHelper()
           
 
Method Summary
static Component getSubComponent(Component parent, java.lang.String path, org.objectweb.util.monolog.api.Logger logger)
          Searches a sub component from a parent and a path in the architecture
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FractalHelper

public FractalHelper()
Method Detail

getSubComponent

public static Component getSubComponent(Component parent,
                                        java.lang.String path,
                                        org.objectweb.util.monolog.api.Logger logger)
                                 throws NoSuchInterfaceException
Searches a sub component from a parent and a path in the architecture

Parameters:
parent - is the root composite component
path - is a dotted string representing a path in the architecture
logger - for the debug of the search
Returns:
the component if it has been found, otherwise null.
Throws:
NoSuchInterfaceException - when a component has no name (no NameController in fact)