org.objectweb.fractal.explorer.context
Class InterfaceWrapperFactory
java.lang.Object
org.objectweb.fractal.explorer.context.InterfaceWrapperFactory
public class InterfaceWrapperFactory
- extends Object
Interface wrapper factory.
- Version:
- 0.1
- Author:
- Romain Rouvoy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
singleton
protected static final InterfaceWrapperFactory singleton
- Factory singleton.
InterfaceWrapperFactory
public InterfaceWrapperFactory()
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.