org.objectweb.fractal.juliak.factory
Class TypeFactoryImpl

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

public class TypeFactoryImpl
extends Object
implements TypeFactory

The implementation of the type factory.

Since:
2.5
Author:
Lionel Seinturier

Field Summary
 
Fields inherited from interface org.objectweb.fractal.api.type.TypeFactory
CLIENT, COLLECTION, MANDATORY, OPTIONAL, SERVER, SINGLE
 
Constructor Summary
TypeFactoryImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeFactoryImpl

public TypeFactoryImpl()
Method Detail

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