|
Coinjema 1.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.coinjema.context.CoinjemaContext
public final class CoinjemaContext
A CoinjemaContext object points to a separate context which may or may not hold individual config information for the system. It is normally used to create a new object in a different context, so that it receives different configuration information than the calling class. A CoinjemaContext is really no more than a String, but is used to avoid namespace problems. CoinjemaContext objects are really just pointers to the actual context - you can easily create objects that point to non-existent contexts. As such, they are cheap objects to create and leave for GC.
Context paths are made using strings of the form "parentContext/childContext/grandChildContext".
Constructor Summary | |
---|---|
CoinjemaContext(CoinjemaContext parent,
String subContext)
Create a context that is a child of the given parent. |
|
CoinjemaContext(String n)
Create a context with the given name. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getName()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CoinjemaContext(CoinjemaContext parent, String subContext)
parent
- subContext
- public CoinjemaContext(String n)
n
- Method Detail |
---|
public final boolean equals(Object obj)
equals
in class Object
public final int hashCode()
hashCode
in class Object
public final String toString()
toString
in class Object
public final String getName()
|
Coinjema 1.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |