Version: 1.1.1

org.biomoby.registry.properties
Class MobyProperties

java.lang.Object
  extended by org.biomoby.registry.properties.MobyProperties

public class MobyProperties
extends Object

Author:
Eddie Kawas

This class was created to provide classes that depend on external variables a way to retrieve these variables.

For questions, comments, or bugs

email me at edward.kawas@gmail.com


Constructor Summary
MobyProperties()
           
 
Method Summary
static void main(String[] args)
           
static Properties NAMESPACE_PROPERTIES()
          Retrieve the properties for [mobynamespace] in mobycentral.conf PRE: POST:The properties contained in mobycentral.conf for [mobynamespace] are returned in a Properties object.
static Properties OBJECT_PROPERTIES()
          Retrieve the properties for [mobyobject] in mobycentral.conf PRE: POST:The properties contained in mobycentral.conf for [mobyobject] are returned in a Properties object.
static Properties PROPERTIES()
          Constructs a Properties object with properties obtained from environment PRE:None.
static Properties RELATIONSHIP_PROPERTIES()
          Retrieve the properties for [mobyrelationship] in mobycentral.conf PRE: POST:The properties contained in mobycentral.conf for [mobyrelationship] are returned in a Properties object.
static Properties SERVICE_INSTANCE_PROPERTIES()
          Retrieve the properties for [mobycentral] in mobycentral.conf PRE: POST:The properties contained in mobycentral.conf for [mobycentral] are returned in a Properties object.
static Properties SERVICE_PROPERTIES()
          Retrieve the properties for [mobyservice] in mobycentral.conf PRE: POST:The properties contained in mobycentral.conf for [mobyservice] are returned in a Properties object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobyProperties

public MobyProperties()
Method Detail

PROPERTIES

public static final Properties PROPERTIES()
Constructs a Properties object with properties obtained from environment

PRE:None.

POST:None.

Returns:
A Properties object with either the properties obtained from the environment or an empty map.

OBJECT_PROPERTIES

public static final Properties OBJECT_PROPERTIES()
Retrieve the properties for [mobyobject] in mobycentral.conf

PRE:

POST:The properties contained in mobycentral.conf for [mobyobject] are returned in a Properties object.

Returns:
Properties contained in the mobycentral.conf file.

SERVICE_INSTANCE_PROPERTIES

public static final Properties SERVICE_INSTANCE_PROPERTIES()
Retrieve the properties for [mobycentral] in mobycentral.conf

PRE:

POST:The properties contained in mobycentral.conf for [mobycentral] are returned in a Properties object.

Returns:
Properties contained in the mobycentral.conf file.

SERVICE_PROPERTIES

public static final Properties SERVICE_PROPERTIES()
Retrieve the properties for [mobyservice] in mobycentral.conf

PRE:

POST:The properties contained in mobycentral.conf for [mobyservice] are returned in a Properties object.

Returns:
Properties contained in the mobycentral.conf file.

NAMESPACE_PROPERTIES

public static final Properties NAMESPACE_PROPERTIES()
Retrieve the properties for [mobynamespace] in mobycentral.conf

PRE:

POST:The properties contained in mobycentral.conf for [mobynamespace] are returned in a Properties object.

Returns:
Properties contained in the mobycentral.conf file.

RELATIONSHIP_PROPERTIES

public static final Properties RELATIONSHIP_PROPERTIES()
Retrieve the properties for [mobyrelationship] in mobycentral.conf

PRE:

POST:The properties contained in mobycentral.conf for [mobyrelationship] are returned in a Properties object.

Returns:
Properties contained in the mobycentral.conf file.

main

public static void main(String[] args)

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010