org.objectweb.fractal.aokell.lib.factory
Class TypeFactoryImpl

java.lang.Object
  extended by org.objectweb.fractal.aokell.lib.factory.TypeFactoryImpl
All Implemented Interfaces:
TypeFactory

public class TypeFactoryImpl
extends Object
implements TypeFactory

Author:
Lionel Seinturier

Field Summary
 
Fields inherited from interface org.objectweb.fractal.api.type.TypeFactory
CLIENT, COLLECTION, MANDATORY, OPTIONAL, SERVER, SINGLE
 
Method Summary
 InterfaceType createFcItfType(String name, String signature, boolean isClient, boolean isOptional, boolean isCollection)
          Create an interface type.
 ComponentType createFcType(InterfaceType[] interfaceTypes)
          Create a component type.
static TypeFactory get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static TypeFactory get()

createFcItfType

public InterfaceType createFcItfType(String name,
                                     String signature,
                                     boolean isClient,
                                     boolean isOptional,
                                     boolean isCollection)
                              throws InstantiationException
Create an interface type.

Specified by:
createFcItfType in interface TypeFactory
Throws:
InstantiationException

createFcType

public ComponentType createFcType(InterfaceType[] interfaceTypes)
                           throws InstantiationException
Create a component type.

Specified by:
createFcType in interface TypeFactory
Throws:
InstantiationException