?? ilogdevice.java
字號:
/************************************************************************* * * * EJBCA: The OpenSource Certificate Authority * * * * This software is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public * * License as published by the Free Software Foundation; either * * version 2.1 of the License, or any later version. * * * * See terms of license at gnu.org. * * * *************************************************************************/ package se.anatom.ejbca.log;import java.security.cert.X509Certificate;import java.util.Date;/** * Interface used by EJBCA external log devices such as Log4j. * * */public interface ILogDevice extends java.io.Serializable { /** * Function used by EJBCA to log information. * * @param admininfo contains information about the administrator performing the event. * @param caid the id of the catch (connected to the event. * @param module indicates the module using the bean. * @param time the time the event occured. * @param username the name of the user involved or null if no user is involved. * @param certificate the certificate involved in the event or null if no certificate is involved. * @param event id of the event, should be one of the se.anatom.ejbca.log.LogEntry.EVENT_ constants. * @param comment comment of the event. */ public void log(Admin admininfo, int caid, int module, Date time, String username, X509Certificate certificate, int event, String comment); /** * Overloaded function that also logs an exception * See function above for more documentation. * * @param exception the exception that has occured */ public void log(Admin admininfo, int caid, int module, Date time, String username, X509Certificate certificate, int event, String comment, Exception exception);}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -