From: Teiniker E. <tei...@us...> - 2007-02-25 10:53:56
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaAssembly/prototype2/xxx/src/wamas/Test In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv14346/test/JavaAssembly/prototype2/xxx/src/wamas/Test Added Files: C2Impl.java H2Factory.java H1Impl.java H2Impl.java C1i1Impl.java C1Impl.java H1Factory.java C2i2Impl.java Log Message: Added second prototype for Java assemblies. --- NEW FILE: H2Factory.java --- /* * This file was automatically generated by CCM Tools version 0.9.0 * <http://ccmtools.sourceforge.net> * DO NOT EDIT! */ package wamas.Test; import Components.HomeExecutorBase; import Components.CCMException; public class H2Factory { public static HomeExecutorBase create() throws CCMException { return new H2Impl(); } } --- NEW FILE: H1Impl.java --- /* * This file was automatically generated by CCM Tools version 0.9.0 * <http://ccmtools.sourceforge.net> * * H1 Implementation * * // TODO: WRITE YOUR DESCRIPTION HERE! * * @author * @version */ package wamas.Test; import Components.CCMException; import Components.EnterpriseComponent; /** * This class implements a component home's attributes and factory methods. * * // TODO: WRITE YOUR DESCRIPTION HERE ! * * @author * @version */ public class H1Impl implements CCM_H1 { public H1Impl() { // OPTIONAL: IMPLEMENT ME HERE ! } public EnterpriseComponent create() throws CCMException { return (EnterpriseComponent) new C1Impl(); } } --- NEW FILE: C2i2Impl.java --- /** * This file was automatically generated by CCM Tools version 0.9.0 * <http://ccmtools.sourceforge.net> * * CCM_I2Impl facet implementation. * * // TODO: WRITE YOUR DESCRIPTION HERE ! * * @author * @version */ package wamas.Test; import Components.CCMException; /** * This class implements a component facet's methods. * * // TODO: WRITE YOUR DESCRIPTION HERE ! * * @author * @version */ public class C2i2Impl implements CCM_I2 { /** Reference to the facet's component implementation */ private C2Impl component; public C2i2Impl(C2Impl component) { this.component = component; } /** Business logic implementations */ } --- NEW FILE: C1i1Impl.java --- /** * This file was automatically generated by CCM Tools version 0.9.0 * <http://ccmtools.sourceforge.net> * * CCM_I1Impl facet implementation. * * // TODO: WRITE YOUR DESCRIPTION HERE ! * * @author * @version */ package wamas.Test; import Components.CCMException; /** * This class implements a component facet's methods. * * // TODO: WRITE YOUR DESCRIPTION HERE ! * * @author * @version */ public class C1i1Impl implements CCM_I1 { /** Reference to the facet's component implementation */ private C1Impl component; public C1i1Impl(C1Impl component) { this.component = component; } /** Business logic implementations */ public String value() throws CCMException { // TODO: IMPLEMENT ME HERE ! return component.a1(); } } --- NEW FILE: H2Impl.java --- /* * This file was automatically generated by CCM Tools version 0.9.0 * <http://ccmtools.sourceforge.net> * * H2 Implementation * * // TODO: WRITE YOUR DESCRIPTION HERE! * * @author * @version */ package wamas.Test; import Components.CCMException; import Components.EnterpriseComponent; /** * This class implements a component home's attributes and factory methods. * * // TODO: WRITE YOUR DESCRIPTION HERE ! * * @author * @version */ public class H2Impl implements CCM_H2 { public H2Impl() { // OPTIONAL: IMPLEMENT ME HERE ! } public EnterpriseComponent create() throws CCMException { return (EnterpriseComponent) new C2Impl(); } } --- NEW FILE: C1Impl.java --- /** * This file was automatically generated by CCM Tools version 0.9.0 * <http://ccmtools.sourceforge.net> * * CCM_C1 component business logic. * * // TODO: WRITE YOUR DESCRIPTION HERE ! * * @author * @version */ package wamas.Test; import Components.CCMException; import Components.SessionContext; /** * This class implements component equivalent and supported interfaces * as well as component attributes. * Additionally, session component callback methods must be implemented. * * // TODO: WRITE YOUR DESCRIPTION HERE ! * * @author * @version */ public class C1Impl implements CCM_C1 { /** Supported interface attribute variables */ /** Component attribute variables */ private String a1_; private int a2_; public CCM_C1_Context ctx; public C1Impl() { // OPTIONAL: IMPLEMENT ME HERE ! } /* * Supported interface methods */ /** Supported interface attributes */ /** Supported interface methods */ /** Component attribute accessor methods */ public String a1() throws CCMException { return this.a1_; } public void a1(String value) throws CCMException { this.a1_ = value; } public int a2() throws CCMException { return this.a2_; } public void a2(int value) throws CCMException { this.a2_ = value; } /** Facet implementation factory methods */ public wamas.Test.CCM_I1 get_i1() { return new wamas.Test.C1i1Impl(this); } /** Component callback methods */ public void set_session_context(SessionContext ctx) throws CCMException { this.ctx = (CCM_C1_Context)ctx; } public void ccm_activate() throws CCMException { // OPTIONAL: IMPLEMENT ME HERE ! } public void ccm_passivate() throws CCMException { // OPTIONAL: IMPLEMENT ME HERE ! } public void ccm_remove() throws CCMException { // OPTIONAL: IMPLEMENT ME HERE ! } } --- NEW FILE: C2Impl.java --- /** * This file was automatically generated by CCM Tools version 0.9.0 * <http://ccmtools.sourceforge.net> * * CCM_C2 component business logic. * * // TODO: WRITE YOUR DESCRIPTION HERE ! * * @author * @version */ package wamas.Test; import Components.CCMException; import Components.SessionContext; /** * This class implements component equivalent and supported interfaces * as well as component attributes. * Additionally, session component callback methods must be implemented. * * // TODO: WRITE YOUR DESCRIPTION HERE ! * * @author * @version */ public class C2Impl implements CCM_C2 { /** Supported interface attribute variables */ /** Component attribute variables */ private int b_; public CCM_C2_Context ctx; public C2Impl() { // OPTIONAL: IMPLEMENT ME HERE ! } /* * Supported interface methods */ /** Supported interface attributes */ /** Supported interface methods */ /** Component attribute accessor methods */ public int b() throws CCMException { return this.b_; } public void b(int value) throws CCMException { this.b_ = value; } /** Facet implementation factory methods */ public wamas.Test.CCM_I2 get_i2() { return new wamas.Test.C2i2Impl(this); } /** Component callback methods */ public void set_session_context(SessionContext ctx) throws CCMException { this.ctx = (CCM_C2_Context)ctx; } public void ccm_activate() throws CCMException { // OPTIONAL: IMPLEMENT ME HERE ! } public void ccm_passivate() throws CCMException { // OPTIONAL: IMPLEMENT ME HERE ! } public void ccm_remove() throws CCMException { // OPTIONAL: IMPLEMENT ME HERE ! } } --- NEW FILE: H1Factory.java --- /* * This file was automatically generated by CCM Tools version 0.9.0 * <http://ccmtools.sourceforge.net> * DO NOT EDIT! */ package wamas.Test; import Components.HomeExecutorBase; import Components.CCMException; public class H1Factory { public static HomeExecutorBase create() throws CCMException { return new H1Impl(); } } |