org.smallmind.cloud.namespace.java.pool
Class JavaContextConnectionInstance
java.lang.Object
org.smallmind.cloud.namespace.java.pool.JavaContextConnectionInstance
- All Implemented Interfaces:
- EventListener, JavaContextListener, Existential, ConnectionInstance<PooledJavaContext>
public class JavaContextConnectionInstance
- extends Object
- implements ConnectionInstance<PooledJavaContext>, JavaContextListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaContextConnectionInstance
public JavaContextConnectionInstance(ConnectionPool<PooledJavaContext> connectionPool,
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 ConnectionInstance<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 ConnectionInstance<PooledJavaContext>
- Throws:
Exception
close
public void close()
throws Exception
- Specified by:
close in interface ConnectionInstance<PooledJavaContext>
- Throws:
Exception
Copyright © 2011. All Rights Reserved.