use of javax.resource.spi.ConnectionEvent in project wildfly by wildfly.
the class MultipleManagedConnection2 method closeHandle.
/**
* Close handle
*
* @param handle The handle
*/
public void closeHandle(MultipleConnection2 handle) {
ConnectionEvent event = new ConnectionEvent(this, ConnectionEvent.CONNECTION_CLOSED);
event.setConnectionHandle(handle);
for (ConnectionEventListener cel : listeners) {
cel.connectionClosed(event);
}
}
use of javax.resource.spi.ConnectionEvent in project wildfly by wildfly.
the class MultipleManagedConnection1 method closeHandle.
/**
* Close handle
*
* @param handle The handle
*/
public void closeHandle(MultipleConnection1 handle) {
ConnectionEvent event = new ConnectionEvent(this, ConnectionEvent.CONNECTION_CLOSED);
event.setConnectionHandle(handle);
for (ConnectionEventListener cel : listeners) {
cel.connectionClosed(event);
}
}
use of javax.resource.spi.ConnectionEvent in project wildfly by wildfly.
the class MultipleManagedConnection2 method closeHandle.
/**
* Close handle
*
* @param handle The handle
*/
public void closeHandle(MultipleConnection2 handle) {
ConnectionEvent event = new ConnectionEvent(this, ConnectionEvent.CONNECTION_CLOSED);
event.setConnectionHandle(handle);
for (ConnectionEventListener cel : listeners) {
cel.connectionClosed(event);
}
}
use of javax.resource.spi.ConnectionEvent in project wildfly by wildfly.
the class AnnoManagedConnection1 method closeHandle.
/**
* Close handle
*
* @param handle The handle
*/
void closeHandle(AnnoConnection1 handle) {
ConnectionEvent event = new ConnectionEvent(this, ConnectionEvent.CONNECTION_CLOSED);
event.setConnectionHandle(handle);
for (ConnectionEventListener cel : listeners) {
cel.connectionClosed(event);
}
}
use of javax.resource.spi.ConnectionEvent in project wildfly by wildfly.
the class ValidManagedConnection method closeHandle.
/**
* Close handle
*
* @param handle The handle
*/
public void closeHandle(ValidConnection handle) {
ConnectionEvent event = new ConnectionEvent(this, ConnectionEvent.CONNECTION_CLOSED);
event.setConnectionHandle(handle);
for (ConnectionEventListener cel : listeners) {
cel.connectionClosed(event);
}
}
Aggregations