| de.danet.an.util.log4j.EJBAppender
EJBAppender | public class EJBAppender extends AppenderSkeleton (Code) | | This class implements the Appender interface.
The EJBAppender forwards the log message to the EJBSink bean.
|
Constructor Summary | |
public | EJBAppender() Constructor for the EJBAppender object. |
Method Summary | |
public void | append(LoggingEvent event) Forwards the message to the EJBSink bean. | public void | close() Internal method. | public boolean | requiresLayout() Internal method. | public void | setEjbJNDIName(String beanName) Sets the JNDI name of the session bean. |
EJBAppender | public EJBAppender()(Code) | | Constructor for the EJBAppender object.
|
append | public void append(LoggingEvent event)(Code) | | Forwards the message to the EJBSink bean.
Parameters: event - the event including the message to be logged. |
close | public void close()(Code) | | Internal method. Close the database connection and flush the buffer.
|
requiresLayout | public boolean requiresLayout()(Code) | | Internal method. Returns true, you may define your own layout...
in this version allways true |
setEjbJNDIName | public void setEjbJNDIName(String beanName)(Code) | | Sets the JNDI name of the session bean.
Parameters: beanName - the JNDI name of the session bean. |
|
|