org.objectweb.fractal.explorer.context
Class InterfaceWrapperFactory

java.lang.Object
  extended by org.objectweb.fractal.explorer.context.InterfaceWrapperFactory

public class InterfaceWrapperFactory
extends Object

Interface wrapper factory.

Version:
0.1
Author:
Romain Rouvoy

Field Summary
protected static InterfaceWrapperFactory singleton
          Factory singleton.
 
Constructor Summary
InterfaceWrapperFactory()
           
 
Method Summary
 InterfaceWrapper getWrapper(Interface itf)
          Provides the appropriate wrapper for the requested interface.
static InterfaceWrapperFactory singleton()
          Provides the instance of the default factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singleton

protected static final InterfaceWrapperFactory singleton
Factory singleton.

Constructor Detail

InterfaceWrapperFactory

public InterfaceWrapperFactory()
Method Detail

singleton

public static InterfaceWrapperFactory singleton()
Provides the instance of the default factory.

Returns:
the default factory.

getWrapper

public InterfaceWrapper getWrapper(Interface itf)
Provides the appropriate wrapper for the requested interface.

Parameters:
itf - the interface to wrap.
Returns:
the associated interface wrapper.