jrun.ejb.interceptors
Class LoggerInterceptor

jrunx.kernel.ServiceAdapter
  |
  +--jrun.ejb.interceptors.AbstractInterceptor
        |
        +--jrun.ejb.interceptors.LoggerInterceptor
All Implemented Interfaces:
Interceptor, InterceptorMBean, LoggerInterceptorMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean

public class LoggerInterceptor
extends AbstractInterceptor
implements LoggerInterceptorMBean

Logger for EJB containers, added only when the JRun logger is set with debug enabled.

Author:
PS Neville
See Also:
Serialized Form

Fields inherited from class jrun.ejb.interceptors.AbstractInterceptor
container, ISFIRST_MESSAGE, ISLAST_MESSAGE, next, previous
 
Fields inherited from class jrunx.kernel.ServiceAdapter
DEFAULT_DEACTIVATED, DEFAULT_DOMAIN, DOMAIN_NAME_SEPARATOR, DOMAIN_NAME_SUFFIX, domainName, jndiBindable, LOGGER_CACHE_TIME, SCHEDULER_SERVICE, SECURITY_MANAGER, server, status, TRANSACTION_MANAGER
 
Fields inherited from interface jrun.ejb.interceptors.LoggerInterceptorMBean
OBJECT_NAME
 
Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Constructor Summary
LoggerInterceptor(EJBContainer container)
           
 
Method Summary
 java.lang.Object invokeHomeMethod(EJBInvocation ctx)
           
 java.lang.Object invokeObjectMethod(EJBInvocation ctx)
           
 
Methods inherited from class jrun.ejb.interceptors.AbstractInterceptor
getContainer, getContainerName, getEJBMetaData, getNext, getNextInterceptorName, getPrevious, getPreviousInterceptorName, setNext, setPrevious
 
Methods inherited from class jrunx.kernel.ServiceAdapter
bind, destroy, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, init, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, start, stop, toString, unbind, unscheduleRunnable, updateStatus
 
Methods inherited from interface jrun.ejb.InterceptorMBean
getContainerName, getNextInterceptorName, getPreviousInterceptorName
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
destroy, getStatus, init, start, stop, updateStatus
 

Constructor Detail

LoggerInterceptor

public LoggerInterceptor(EJBContainer container)
Method Detail

invokeHomeMethod

public java.lang.Object invokeHomeMethod(EJBInvocation ctx)
                                  throws java.lang.Exception
Overrides:
invokeHomeMethod in class AbstractInterceptor

invokeObjectMethod

public java.lang.Object invokeObjectMethod(EJBInvocation ctx)
                                    throws java.lang.Exception
Overrides:
invokeObjectMethod in class AbstractInterceptor


Copyright � 2002 Macromedia Corporation. All Rights Reserved.