Class JavaContextComponentInstance
java.lang.Object
org.smallmind.quorum.namespace.pool.JavaContextComponentInstance
- All Implemented Interfaces:
EventListener,Existential,JavaContextListener,ComponentInstance<PooledJavaContext>
public class JavaContextComponentInstance
extends Object
implements ComponentInstance<PooledJavaContext>, JavaContextListener
-
Constructor Summary
ConstructorsConstructorDescriptionJavaContextComponentInstance(ComponentPool<PooledJavaContext> componentPool, PooledJavaContext pooledJavaContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidcontextAborted(JavaContextEvent javaContextEvent) voidcontextClosed(JavaContextEvent javaContextEvent) serve()booleanvalidate()
-
Constructor Details
-
JavaContextComponentInstance
public JavaContextComponentInstance(ComponentPool<PooledJavaContext> componentPool, PooledJavaContext pooledJavaContext) throws NamingException - Throws:
NamingException
-
-
Method Details
-
getExistentialStackTrace
- Specified by:
getExistentialStackTracein interfaceExistential
-
validate
public boolean validate()- Specified by:
validatein interfaceComponentInstance<PooledJavaContext>
-
contextClosed
- Specified by:
contextClosedin interfaceJavaContextListener
-
contextAborted
- Specified by:
contextAbortedin interfaceJavaContextListener
-
serve
- Specified by:
servein interfaceComponentInstance<PooledJavaContext>- Throws:
Exception
-
close
- Specified by:
closein interfaceComponentInstance<PooledJavaContext>- Throws:
Exception
-