|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.registry.api.context.Context
public class Context
The context contains all the related things needed by the registry to work...
It is built from the Configuration data by the ContextFactory
.
| Constructor Summary | |
|---|---|
Context(Configuration configuration)
Creates a new instance of Context from the Configuration |
|
| Method Summary | |
|---|---|
Configuration |
getConfiguration()
|
static Context |
getContext(java.lang.String registryName)
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
|
java.util.List<RemoteConfiguration> |
getTopology()
|
Workspace |
getWorkspace()
|
void |
init()
Initialize the object |
boolean |
isInitialized()
|
boolean |
isLoaded()
|
void |
setTopology(java.util.List<RemoteConfiguration> topology)
|
static void |
store(Context context)
Store the the context in order to potentially retrieve it everywhere in the framework. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Context(Configuration configuration)
throws RegistryException
Configuration
configuration -
RegistryException| Method Detail |
|---|
public static void store(Context context)
name - context - public static Context getContext(java.lang.String registryName)
registryName -
public Configuration getConfiguration()
public Workspace getWorkspace()
public boolean isLoaded()
public void init()
throws LifeCycleException
Initializable
init in interface InitializableLifeCycleExceptionpublic boolean isInitialized()
isInitialized in interface Initializablepublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
public java.util.List<RemoteConfiguration> getTopology()
public void setTopology(java.util.List<RemoteConfiguration> topology)
topology - the topology to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||