org.objectweb.fractal.gui.model
Interface Factory

All Known Implementing Classes:
BasicConfiguration

public interface Factory

A factory to create components and interfaces.


Method Summary
 ClientInterface createClientInterface(Component owner)
          Creates a new external client interface.
 Component createComponent()
          Creates a new component.
 Component createComponent(Component component)
          Creates a slave component.
 ServerInterface createServerInterface(Component owner)
          Creates a new external server interface.
 

Method Detail

createComponent

public Component createComponent()
Creates a new component.

Returns:
a newly created component.

createComponent

public Component createComponent(Component component)
Creates a slave component.

Parameters:
component - a master component.
Returns:
a newly created slave component of the given master component.

createClientInterface

public ClientInterface createClientInterface(Component owner)
Creates a new external client interface.

Parameters:
owner - a component.
Returns:
a newly created external client interface for the given component.

createServerInterface

public ServerInterface createServerInterface(Component owner)
Creates a new external server interface.

Parameters:
owner - a component.
Returns:
a newly created external server interface for the given component.