org.ow2.jasmine.jade.reflex.util
Class Environment

java.lang.Object
  extended by org.ow2.jasmine.jade.reflex.util.Environment

public class Environment
extends java.lang.Object

Manipulation of environment variables for reflex-fractal

Author:
Fabienne Boyer

Field Summary
static java.lang.String reflexAuto
          flag to indicate if you automate reflex service operations, like invoke newFcInstanceNotification(...), setDual(...) in ReflexGenericFactoryMixin
static java.lang.String reflexDualNameLabel
          name associated to the dual Fractal instance
static java.lang.String reflexLevelLabel
          reflexive level (execution / meta) associated to the current Fractal instance
static java.lang.String reflexNameLabel
          name associated to the current Fractal instance
static java.lang.String reflexNotify
          flag to indicate if you automate reflex service operations, like invoke newFcInstanceNotification(...), setDual(...) in ReflexGenericFactoryMixin
static java.lang.String registryNodeLabel
          registry's node
static java.lang.String registryPortLabel
          registry's port
 
Constructor Summary
Environment()
           
 
Method Summary
static java.lang.String getProperty(java.lang.String propName)
          Get a property value
static org.objectweb.fractal.rmi.registry.NamingService getRegistry()
          Get the reference of the Registry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registryNodeLabel

public static final java.lang.String registryNodeLabel
registry's node

See Also:
Constant Field Values

registryPortLabel

public static final java.lang.String registryPortLabel
registry's port

See Also:
Constant Field Values

reflexNameLabel

public static final java.lang.String reflexNameLabel
name associated to the current Fractal instance

See Also:
Constant Field Values

reflexLevelLabel

public static final java.lang.String reflexLevelLabel
reflexive level (execution / meta) associated to the current Fractal instance

See Also:
Constant Field Values

reflexDualNameLabel

public static final java.lang.String reflexDualNameLabel
name associated to the dual Fractal instance

See Also:
Constant Field Values

reflexAuto

public static final java.lang.String reflexAuto
flag to indicate if you automate reflex service operations, like invoke newFcInstanceNotification(...), setDual(...) in ReflexGenericFactoryMixin

See Also:
Constant Field Values

reflexNotify

public static final java.lang.String reflexNotify
flag to indicate if you automate reflex service operations, like invoke newFcInstanceNotification(...), setDual(...) in ReflexGenericFactoryMixin

See Also:
Constant Field Values
Constructor Detail

Environment

public Environment()
Method Detail

getProperty

public static java.lang.String getProperty(java.lang.String propName)
                                    throws java.lang.Exception
Get a property value

Parameters:
the - property's name
Returns:
the property's value (null if the property is undefined)
Throws:
java.lang.Exception

getRegistry

public static org.objectweb.fractal.rmi.registry.NamingService getRegistry()
                                                                    throws java.lang.Exception
Get the reference of the Registry

Returns:
the reference of the registry (null if no registry is found)
Throws:
java.lang.Exception - if the registry's node or port are undefined in the environment


Copyright © 2008 OW2 Consortium. All Rights Reserved.