|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectNameService
public class NameService
| Method Summary | |
|---|---|
void |
debugSetNameIntValue(int val)
This is a debug method that will set the next integer value. |
INameable |
get(String name)
|
static NameService |
instance(HttpSession session)
This will return the session specific instance of a NameService. |
void |
nameObject(String namePrefix,
INameable object)
This method will create a unique name for an INameable object. |
void |
put(INameable object)
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NameService instance(HttpSession session)
session - the HttpSession that contains the NameService
public void nameObject(String namePrefix,
INameable object)
namePrefix - The prefix of the generated name.object - the INameable object.
IllegalStateException - if this method is called more than once for an objectpublic void debugSetNameIntValue(int val)
val - public void put(INameable object)
object - public INameable get(String name)
name -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||