Component boot = Utils.getBootstrapComponent();
PAGCMTypeFactory tf = Utils.getPAGCMTypeFactory(boot);
PAGenericFactory gf = Utils.getPAGenericFactory(boot);
ComponentType tTest = tf.createFcType(new InterfaceType[] {
tf.createGCMItfType(
"runnable",
MSRunnable.class.getName(),
GCMTypeFactory.SERVER,
GCMTypeFactory.MANDATORY,
GCMTypeFactory.SINGLETON_CARDINALITY),
tf.createGCMItfType(
"scc",
SkandiumComponentController.class.getName(),
GCMTypeFactory.SERVER,
GCMTypeFactory.OPTIONAL,
GCMTypeFactory.SINGLETON_CARDINALITY)
});
ComponentType tMergeSort = tf.createFcType(new InterfaceType[] {
tf.createGCMItfType(
"runnable",
MSRunnable.class.getName(),
GCMTypeFactory.SERVER,
GCMTypeFactory.MANDATORY,
GCMTypeFactory.SINGLETON_CARDINALITY),
tf.createGCMItfType(
"sc",
SkandiumComponent.class.getName(),
GCMTypeFactory.CLIENT,
GCMTypeFactory.MANDATORY,
GCMTypeFactory.SINGLETON_CARDINALITY),
tf.createGCMItfType(
"scrr",
SCResultReceiver.class.getName(),
GCMTypeFactory.SERVER,
GCMTypeFactory.MANDATORY,
GCMTypeFactory.SINGLETON_CARDINALITY)
});
ComponentType tSC = tf.createFcType(new InterfaceType[] {
tf.createGCMItfType(
"sc",
SkandiumComponent.class.getName(),
GCMTypeFactory.SERVER,
GCMTypeFactory.MANDATORY,