Monday, 28 January 2013

CollaborationContext Interface and its implementation in JCAPS

Interface available in Jar Name: com.stc.codegen.utilapi.JAR
Interface name:  CollaborationContext


Brings the information of  JCaps project

Have four methods

  public String getCollaborationName();

  public String getDeploymentProfileName();

  public String getProjectPath();

  public String getConnectivityMapName();



Implementation Class avilable in Jar Name: com.stc.codegen.utilimpl.JAR
Class Name: CollaborationContextImpl
Brings data from InitialContext:
this.projectPath = ((String)context.lookup("java:comp/env/stc/context/ProjectPath"));
this.collabrationName = ((String)context.lookup("java:comp/env/stc/context/CollabrationName"));
this.deployName = ((String)context.lookup("java:comp/env/stc/context/DeploymentName"));
this.cmName = ((String)context.lookup("java:comp/env/stc/context/CMapName"));

No comments:

Post a Comment