auditstreamidfactory.java
来自「基于Jabber协议的即时消息服务器」· Java 代码 · 共 36 行
JAVA
36 行
/**
* $RCSfile$
* $Revision: 38 $
* $Date: 2004-10-21 03:30:10 -0300 (Thu, 21 Oct 2004) $
*
* Copyright (C) 2004 Jive Software. All rights reserved.
*
* This software is published under the terms of the GNU Public License (GPL),
* a copy of which is included in this distribution.
*/
package org.jivesoftware.wildfire.audit;
import org.jivesoftware.wildfire.StreamID;
import org.jivesoftware.wildfire.StreamIDFactory;
import org.jivesoftware.wildfire.spi.BasicStreamIDFactory;
/**
* Factory for producing audit stream IDs. We use a factory so that
* audit information can be identified using an appropriate storage
* key (typically a long for RDBMS).
*
* @author Iain Shigeoka
*/
public class AuditStreamIDFactory implements StreamIDFactory {
private BasicStreamIDFactory factory = new BasicStreamIDFactory();
public AuditStreamIDFactory() {
}
public StreamID createStreamID() {
return factory.createStreamID();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?