org.objectweb.fractal.julia.control.binding
Class Util

java.lang.Object
  extended by org.objectweb.fractal.julia.control.binding.Util

public class Util
extends Object

Provides static utility methods related to BindingController.


Method Summary
static List getFcClientItfsBoundTo(Component component, Interface serverItf)
          Returns the client interfaces of the given component that are bound to the given server interface.
static Set getFcClientItfsBoundTo(Interface serverItf)
          Returns the client interfaces that are bound to the given server interface.
static Set getFcPotentialClientsOf(Interface serverItf)
          Returns the potential client components of the given server interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFcClientItfsBoundTo

public static Set getFcClientItfsBoundTo(Interface serverItf)
                                  throws Exception
Returns the client interfaces that are bound to the given server interface.

Parameters:
serverItf - a server interface.
Returns:
the client interfaces that are bound to serverItf.
Throws:
Exception - if a problem occurs.

getFcPotentialClientsOf

public static Set getFcPotentialClientsOf(Interface serverItf)
                                   throws Exception
Returns the potential client components of the given server interface.

Parameters:
serverItf - a server interface.
Returns:
the potential client components of the given server interface.
Throws:
Exception - if a problem occurs.

getFcClientItfsBoundTo

public static List getFcClientItfsBoundTo(Component component,
                                          Interface serverItf)
                                   throws Exception
Returns the client interfaces of the given component that are bound to the given server interface.

Parameters:
component - a component.
serverItf - a server interface.
Returns:
the client interfaces of component that are bound to serverItf.
Throws:
Exception - if a problem occurs.