org.smallmind.cloud.namespace.java.pool
Class JavaContextComponentInstance
java.lang.Object
org.smallmind.cloud.namespace.java.pool.JavaContextComponentInstance
- All Implemented Interfaces:
- EventListener, JavaContextListener, Existential, ComponentInstance<PooledJavaContext>
public class JavaContextComponentInstance
- extends Object
- implements ComponentInstance<PooledJavaContext>, JavaContextListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaContextComponentInstance
public JavaContextComponentInstance(ComponentPool<PooledJavaContext> componentPool,
PooledJavaContext pooledJavaContext)
throws NamingException
- Throws:
NamingException
getExistentialStackTrace
public StackTraceElement[] getExistentialStackTrace()
- Specified by:
getExistentialStackTrace in interface Existential
validate
public boolean validate()
- Specified by:
validate in interface ComponentInstance<PooledJavaContext>
contextClosed
public void contextClosed(JavaContextEvent javaContextEvent)
- Specified by:
contextClosed in interface JavaContextListener
contextAborted
public void contextAborted(JavaContextEvent javaContextEvent)
- Specified by:
contextAborted in interface JavaContextListener
serve
public PooledJavaContext serve()
throws Exception
- Specified by:
serve in interface ComponentInstance<PooledJavaContext>
- Throws:
Exception
close
public void close()
throws Exception
- Specified by:
close in interface ComponentInstance<PooledJavaContext>
- Throws:
Exception
Copyright © 2012. All Rights Reserved.