本文整理了Java中org.jbundle.base.db.Record.addSlaveListeners
方法的一些代码示例,展示了Record.addSlaveListeners
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.addSlaveListeners
方法的具体详情如下:
包路径:org.jbundle.base.db.Record
类名称:Record
方法名:addSlaveListeners
[英]Override this to add record listeners and filters.
[中]重写此选项以添加记录侦听器和筛选器。
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* Override this to add record listeners and filters.
*/
public void addListeners()
{
if ((this.getMasterSlave() & RecordOwner.MASTER) != 0) // Don't add in slave
this.addMasterListeners();
if ((this.getMasterSlave() & RecordOwner.SLAVE) != 0) // Do add in slave
this.addSlaveListeners();
}
/**
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
/**
* Override this to add record listeners and filters.
*/
public void addListeners()
{
if ((this.getMasterSlave() & RecordOwner.MASTER) != 0) // Don't add in slave
this.addMasterListeners();
if ((this.getMasterSlave() & RecordOwner.SLAVE) != 0) // Do add in slave
this.addSlaveListeners();
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base
/**
* Override this to add record listeners and filters.
*/
public void addListeners()
{
if ((this.getMasterSlave() & RecordOwner.MASTER) != 0) // Don't add in slave
this.addMasterListeners();
if ((this.getMasterSlave() & RecordOwner.SLAVE) != 0) // Do add in slave
this.addSlaveListeners();
}
/**
内容来源于网络,如有侵权,请联系作者删除!