Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acs.damsel.srvr
Class Damsel  view Damsel download Damsel.java

java.lang.Object
  extended byorg.acs.damsel.srvr.Damsel

public class Damsel
extends java.lang.Object

Title: Damsel

Description: Damsel is a singleton class (i.e., only one copy of it exists at a time) that mediates between the application and services layers.

Version:
1.0

Field Summary
private static Damsel instance
           
private  org.apache.log4j.Logger log
           
 
Constructor Summary
private Damsel()
           
 
Method Summary
 org.acs.damsel.srvr.db.AssetDB getAssetDB()
          getAssetDB() returns a handle on the AssetDB using that class's instance() method because AssetDB is a singleton.
static Damsel instance()
          The instance() method is used instead of a constructor to get a handle on the Damsel object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static Damsel instance

log

private org.apache.log4j.Logger log
Constructor Detail

Damsel

private Damsel()
Method Detail

instance

public static Damsel instance()
The instance() method is used instead of a constructor to get a handle on the Damsel object. If the Damsel instance is null, then it is initialized using the default constructor.


getAssetDB

public org.acs.damsel.srvr.db.AssetDB getAssetDB()
getAssetDB() returns a handle on the AssetDB using that class's instance() method because AssetDB is a singleton.