|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The reusable object type.public interface IReusable<T>
Stands for a reusable object. Any reusable candidate object can implement this interface and use the services of reusable items.
| Method Summary | |
|---|---|
boolean |
canReuse(Map<String,Object> cfg)
Return if the reusable can be reused. i.e. if a Jetty Server has the same configuration file it can be reused. |
String |
getName()
Reusable name. |
T |
getObject()
The reusable object. |
void |
release()
Release resource best effort. |
void |
reset()
Reset reusable resources. |
| Method Detail |
|---|
String getName()
T getObject()
boolean canReuse(Map<String,Object> cfg)
cfg - The object configuration elements.
void reset()
void release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||