|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeFactory
A component interface to create component and interface type objects.
Field Summary | |
---|---|
static boolean |
CLIENT
The isClient value to be used in createFcItfType to create a client interface type. |
static boolean |
COLLECTION
The isCollection value to be used in createFcItfType to create a collection interface type. |
static boolean |
MANDATORY
The isOptional value to be used in createFcItfType to create a mandatory interface type. |
static boolean |
OPTIONAL
The isOptional value to be used in createFcItfType to create an optional interface type. |
static boolean |
SERVER
The isClient value to be used in createFcItfType to create a server interface type. |
static boolean |
SINGLE
The isCollection value to be used in createFcItfType to create a singleton interface type. |
Method Summary | |
---|---|
InterfaceType |
createFcItfType(java.lang.String name,
java.lang.String signature,
boolean isClient,
boolean isOptional,
boolean isCollection)
Creates an interface type. |
ComponentType |
createFcType(InterfaceType[] interfaceTypes)
Creates a component type. |
Field Detail |
---|
static final boolean SERVER
createFcItfType
to create a server interface type.
static final boolean CLIENT
createFcItfType
to create a client interface type.
static final boolean MANDATORY
createFcItfType
to create a mandatory interface type.
static final boolean OPTIONAL
createFcItfType
to create an optional interface type.
static final boolean SINGLE
createFcItfType
to create a singleton interface type.
static final boolean COLLECTION
createFcItfType
to create a collection interface type.
Method Detail |
---|
InterfaceType createFcItfType(java.lang.String name, java.lang.String signature, boolean isClient, boolean isOptional, boolean isCollection) throws InstantiationException
name
- the name of interfaces of this type (see getFcItfName
).signature
- signatures of the methods of interfaces of this type. In
Java this "signature" is the fully qualified name of a Java interface
corresponding to these method signatures.isClient
- true if component interfaces of this type are
client interfaces.isOptional
- true if component interfaces of this type are
optional interfaces.isCollection
- true if a component may have several
interfaces of this type.
InstantiationException
- if the interface type cannot be created.ComponentType createFcType(InterfaceType[] interfaceTypes) throws InstantiationException
interfaceTypes
- the interface types of the component type to be
created.
getFcInterfaceTypes
method returns an array equal to
interfaceTypes.
InstantiationException
- if the component type cannot be created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |