|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.java.recycle.DefaultController
The default controller doesn't do anything.
Constructor Summary | |
DefaultController()
|
Method Summary | |
void |
down()
This method is called by a ControlledContainer when some object is removed from the container. |
boolean |
isThereRoomFor(Recyclable object)
This method is called to obtain info about the container level status and should return true if the controller grants access for the new object to be stored in the container. |
void |
up()
This method is called by a ControlledContainer when some object gets stored in the container. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public DefaultController()
Method Detail |
public void up()
public void down()
public boolean isThereRoomFor(Recyclable object)
It's up to the implementation to determine how to come up with this information.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |