Jar Name: com.stc.codegen.alerterapi
Interface Name: Alerter
Contents:
public abstract void fatal(String paramString1, String paramString2) throws Exception;
public abstract void critical(String paramString);
public abstract void major(String paramString);
public abstract void minor(String paramString);
public abstract void warning(String paramString);
public abstract void info(String paramString);
public abstract void custom(String paramString1, String paramString2, String paramString3);
Jar Name: com.stc.codegen.alerterimpl
Class Name: AlerterImpl
Default Severity Level:
public void fatal(String msg, String componentName throws Exception
{
sendAlert(msg, 0, componentName);
}
public void critical(String msg){
sendAlert(msg, 1);
}
public void major(String msg){
sendAlert(msg, 2);
}
public void minor(String msg){
sendAlert(msg, 3);
}
public void warning(String msg){
sendAlert(msg, 4);
}
public void info(String msg){
sendAlert(msg, 5);
}
and also there is user defined custom severity
javax.management.MBeanServer is invoked to run alerter
Monday, 28 January 2013
TypeConverter Interface and it's implementation in JCaps
Present in JAR: com.stc.codegen.utilapi
Interface Name: TypeConverter
Methoda Available:
public abstract String shortToString(short paramShort, String paramString1, boolean paramBoolean, String paramString2);
public abstract String intToString(int paramInt, String paramString1, boolean paramBoolean, String paramString2);
public abstract String longToString(long paramLong, String paramString1, boolean paramBoolean, String paramString2);
public abstract String floatToString(float paramFloat, String paramString1, boolean paramBoolean, String paramString2);
public abstract String doubleToString(double paramDouble, String paramString1, boolean paramBoolean, String paramString2);
public abstract short stringToShort(String paramString1, String paramString2, boolean paramBoolean, int paramInt);
public abstract int stringToInt(String paramString1, String paramString2, boolean paramBoolean, int paramInt);
public abstract long stringToLong(String paramString1, String paramString2, boolean paramBoolean, long paramLong);
public abstract float stringToFloat(String paramString1, String paramString2, boolean paramBoolean, double paramDouble);
public abstract double stringToDouble(String paramString1, String paramString2, boolean paramBoolean, double paramDouble);
public abstract java.util.Date stringToDate(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract java.sql.Date stringToSQLDate(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract com.stc.otd.xsd.datatype.DateTime stringToDateTime(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract Date2001 stringToDate2001(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract Timestamp stringToTimestamp(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract String dateToString(java.util.Date paramDate, String paramString1, boolean paramBoolean, String paramString2);
public abstract String dateToString(com.stc.runtime.dt.DateTime paramDateTime, String paramString1, boolean paramBoolean, String paramString2);
public abstract String dateToString(com.stc.runtime.dt.Date paramDate, String paramString1, boolean paramBoolean, String paramString2);
public abstract String byteArrayToString(byte[] paramArrayOfByte, String paramString1, boolean paramBoolean, String paramString2);
public abstract byte[] stringToByteArray(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract String bigDecimalToString(BigDecimal paramBigDecimal, String paramString1, boolean paramBoolean, String paramString2);
public abstract String bigIntegerToString(BigInteger paramBigInteger, String paramString1, boolean paramBoolean, String paramString2);
public abstract BigDecimal stringToBigDecimal(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract BigInteger stringToBigInteger(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
Date2001 is XSD datatype available in com.stc.otd.xsd.datatype.Date2001
Present in JAR: com.stc.codegen.utilimpl
Class Name: TypeConverterImpl
Interface Name: TypeConverter
Methoda Available:
public abstract String shortToString(short paramShort, String paramString1, boolean paramBoolean, String paramString2);
public abstract String intToString(int paramInt, String paramString1, boolean paramBoolean, String paramString2);
public abstract String longToString(long paramLong, String paramString1, boolean paramBoolean, String paramString2);
public abstract String floatToString(float paramFloat, String paramString1, boolean paramBoolean, String paramString2);
public abstract String doubleToString(double paramDouble, String paramString1, boolean paramBoolean, String paramString2);
public abstract short stringToShort(String paramString1, String paramString2, boolean paramBoolean, int paramInt);
public abstract int stringToInt(String paramString1, String paramString2, boolean paramBoolean, int paramInt);
public abstract long stringToLong(String paramString1, String paramString2, boolean paramBoolean, long paramLong);
public abstract float stringToFloat(String paramString1, String paramString2, boolean paramBoolean, double paramDouble);
public abstract double stringToDouble(String paramString1, String paramString2, boolean paramBoolean, double paramDouble);
public abstract java.util.Date stringToDate(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract java.sql.Date stringToSQLDate(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract com.stc.otd.xsd.datatype.DateTime stringToDateTime(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract Date2001 stringToDate2001(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract Timestamp stringToTimestamp(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract String dateToString(java.util.Date paramDate, String paramString1, boolean paramBoolean, String paramString2);
public abstract String dateToString(com.stc.runtime.dt.DateTime paramDateTime, String paramString1, boolean paramBoolean, String paramString2);
public abstract String dateToString(com.stc.runtime.dt.Date paramDate, String paramString1, boolean paramBoolean, String paramString2);
public abstract String byteArrayToString(byte[] paramArrayOfByte, String paramString1, boolean paramBoolean, String paramString2);
public abstract byte[] stringToByteArray(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract String bigDecimalToString(BigDecimal paramBigDecimal, String paramString1, boolean paramBoolean, String paramString2);
public abstract String bigIntegerToString(BigInteger paramBigInteger, String paramString1, boolean paramBoolean, String paramString2);
public abstract BigDecimal stringToBigDecimal(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
public abstract BigInteger stringToBigInteger(String paramString1, String paramString2, boolean paramBoolean, String paramString3);
Date2001 is XSD datatype available in com.stc.otd.xsd.datatype.Date2001
Present in JAR: com.stc.codegen.utilimpl
Class Name: TypeConverterImpl
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"));
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"));
Sunday, 27 January 2013
Change the JDK Path in Netbeans Startup
1) Open path \netbeans\etc
2) open file netbeans.conf
3) Find netbeans_jdkhome folder:
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"
netbeans_default_userdir=D:/caps/myproject/.netbeans/caps
netbeans_jdkhome=C:\Program Files\Java\jdk1.6.0_19
4) Just change it X-(
2) open file netbeans.conf
3) Find netbeans_jdkhome folder:
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"
netbeans_default_userdir=D:/caps/myproject/.netbeans/caps
netbeans_jdkhome=C:\Program Files\Java\jdk1.6.0_19
4) Just change it X-(
Subscribe to:
Posts (Atom)