Skip to content

Instantly share code, notes, and snippets.

View wgthom's full-sized avatar
🙂
copacetic

William G. Thompson, Jr. wgthom

🙂
copacetic
View GitHub Profile
/**
* Example change log consumer based on ChangeLogConsumerBaseImpl. ChangeLogConsumerBaseImpl handles
* the mapping of change log event to methods, the processing loop, and exception handling.
*/
public class PrintChangeLogConsumer extends ChangeLogConsumerBaseImpl {
private static final Logger LOG = LoggerFactory.getLogger(PrintChangeLogConsumer.class);
@Override
protected void addGroup(ChangeLogEntry changeLogEntry, String consumerName) {

Keybase proof

I hereby claim:

  • I am wgthom on github.
  • I am wgthom (https://keybase.io/wgthom) on keybase.
  • I have a public key whose fingerprint is BAA4 0099 7EED CA15 A31F 5242 C3EB 61CD 0A65 679E

To claim this, I am signing this object:

Verifying myself: My Bitcoin username is +wgthom. https://onename.io/wgthom
// request is an implicit Portlet object available in view.jsp
long userid = PortalUtil.getUserId(request);
String username = PortalUtil.getUserName(userid,null,"user.login.id");
String password = PortalUtil.getUserPassword(request);