Page History
...
Annotate the class and implement the two functions. See example:
Code Block | ||
---|---|---|
| ||
import com.aquima.interactions.foundation.connectivity.ConnectionType;
import com.aquima.interactions.foundation.connectivity.IConnection;
import com.aquima.web.config.annotation.AquimaConnection;
@AquimaConnection(connectionType = "custom", value = "OtherConn")
public class OtherConnection implements IConnection {
public OtherConnection()
{
System.out.println(getType());
}
@Override
public String getName() {
return "OtherConn";
}
@Override
public ConnectionType getType() {
return ConnectionType.CUSTOM;
}
}
|
Overview
Content Tools