public class JavaContextComponentInstance extends Object implements ComponentInstance<PooledJavaContext>, JavaContextListener
| Constructor and Description |
|---|
JavaContextComponentInstance(ComponentPool<PooledJavaContext> componentPool,
PooledJavaContext pooledJavaContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
contextAborted(JavaContextEvent javaContextEvent) |
void |
contextClosed(JavaContextEvent javaContextEvent) |
StackTraceElement[] |
getExistentialStackTrace() |
PooledJavaContext |
serve() |
boolean |
validate() |
public JavaContextComponentInstance(ComponentPool<PooledJavaContext> componentPool, PooledJavaContext pooledJavaContext) throws NamingException
NamingExceptionpublic StackTraceElement[] getExistentialStackTrace()
getExistentialStackTrace in interface Existentialpublic boolean validate()
validate in interface ComponentInstance<PooledJavaContext>public void contextClosed(JavaContextEvent javaContextEvent)
contextClosed in interface JavaContextListenerpublic void contextAborted(JavaContextEvent javaContextEvent)
contextAborted in interface JavaContextListenerpublic PooledJavaContext serve() throws Exception
serve in interface ComponentInstance<PooledJavaContext>Exceptionpublic void close()
throws Exception
close in interface ComponentInstance<PooledJavaContext>ExceptionCopyright © 2019. All rights reserved.