org.jboss.ejb
abstract protected class: Container.AbstractContainerInterceptor [javadoc |
source]
java.lang.Object
org.jboss.ejb.Container$AbstractContainerInterceptor
All Implemented Interfaces:
Interceptor
The base class for container interceptors.
All container interceptors perform the same basic functionality
and only differ slightly.
| Field Summary |
|---|
| protected final Logger | log | |
| Method from org.jboss.ejb.Container$AbstractContainerInterceptor Summary: |
|---|
|
create, destroy, getNext, resetStatistic, rethrow, retrieveStatistic, sample, setContainer, setNext, start, stop |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.jboss.ejb.Container$AbstractContainerInterceptor Detail: |
public void create() {
}
|
public void destroy() {
}
|
public Interceptor getNext() {
return null;
}
|
public void resetStatistic() {
}
|
protected void rethrow(Exception e) throws Exception {
if (e instanceof IllegalAccessException)
{
// Throw this as a bean exception...(?)
throw new EJBException(e);
}
else if (e instanceof InvocationTargetException)
{
Throwable t = ((InvocationTargetException)e).getTargetException();
if (t instanceof EJBException)
{
throw (EJBException)t;
}
else if (t instanceof Exception)
{
throw (Exception)t;
}
else if (t instanceof Error)
{
throw (Error)t;
}
else
{
throw new NestedError("Unexpected Throwable", t);
}
}
throw e;
}
|
public Map retrieveStatistic() {
return null;
}
|
public void sample(Object s) {
// Just here to because Monitorable request it but will be removed soon
}
|
public void setContainer(Container con) {
}
|
public void setNext(Interceptor interceptor) {
}
|
public void start() {
}
|
public void stop() {
}
|