public final class PropertyHandler extends java.lang.Object
Constructor and Description |
---|
PropertyHandler(javax.servlet.ServletContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close()
close this handler and release all resources
|
java.lang.String |
getBindContext()
Get the defined URL e.g.
|
java.lang.String |
getRESTBindContext()
Get the defined URL e.g.
|
<T extends SystemProperty> |
getSystemProperties(java.lang.Class<T> cls)
Do NOT close or cleanup the instances returned by this method, the initialization and destruction is handled automatically.
|
public PropertyHandler(javax.servlet.ServletContext context)
context
- public java.lang.String getBindContext()
public java.lang.String getRESTBindContext()
public <T extends SystemProperty> T getSystemProperties(java.lang.Class<T> cls)
cls
- public void close()
Copyright © 2015 Tampere University of Technology, Pori Department.