|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.core.Naming
This class implements useful static methods to manipulate JAC objects and names.
NameRepository
,
NamingAC
Field Summary | |
static String |
FORCE_NAME
|
Constructor Summary | |
Naming()
|
Method Summary | |
static String |
getName(Object object)
Returns the JAC name of a JAC object. |
static Object |
getObject(String name)
Returns the JAC object named name. |
static void |
setName(String name)
Sets the name of the next created object within the current thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static String FORCE_NAME
Constructor Detail |
public Naming()
Method Detail |
public static void setName(String name)
public static String getName(Object object)
Equivalent to NameRepository.get().getName(object)
.
Repository.getName(Object)
public static Object getObject(String name)
Equivalent to NameRepository.get().getObject(name)
.
NameRepository.getObject(String)
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |