Top Description Methods
io.undertow.servlet.api

public Interface InstanceHandle<T>

Known Direct Implementers
io.undertow.servlet.util.ImmediateInstanceHandle

A handle for a container managed instance. When the servlet container is done with it it should call the release() method
Author
Stuart Douglas

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

The managed instance
getInstance
()

public void
release()

releases the instance, uninjecting and calling an pre-destroy methods as appropriate

Method Detail

getInstanceback to summary
public T getInstance()
Returns:T

The managed instance

releaseback to summary
public void release()

releases the instance, uninjecting and calling an pre-destroy methods as appropriate