org.sandev.tools.SandBossRoot
Class DefaultSingletonAccessorImpl

java.lang.Object
  extended byorg.sandev.tools.SandBossRoot.DefaultSingletonAccessorImpl
All Implemented Interfaces:
org.sandev.basics.nodecommon.SingletonAccessor

public class DefaultSingletonAccessorImpl
extends java.lang.Object
implements org.sandev.basics.nodecommon.SingletonAccessor

Provide a SingletonAccessor for this deployment.
AUTOGENERATED FILE, DO NOT EDIT DIRECTLY.
source: declared in build
generator: org.sandev.generator.SingletonAccessorGenerator
time: Dec 2, 2005 6:38:59 PM


Field Summary
protected  org.sandev.basics.nodecommon.SandRoot sandRoot
          Our reference to the SandRoot
protected static org.sandev.basics.nodecommon.SingletonAccessor singletonRef
          Our singleton access to this class instance.
 
Constructor Summary
DefaultSingletonAccessorImpl()
          Default ctor for ease of access through reflection.
 
Method Summary
 java.lang.String getDeploymentPrefix()
          Return the deployment prefix for this application.
 org.sandev.basics.nodecommon.SandRoot getSandRoot()
          accessor for sandRoot
static org.sandev.basics.nodecommon.SingletonAccessor getSingletonAccessor()
          Return the singleton reference to this class instance or null if not set yet.
 void init(org.sandev.basics.nodecommon.SandRoot val)
          mutator for sandRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singletonRef

protected static org.sandev.basics.nodecommon.SingletonAccessor singletonRef
Our singleton access to this class instance.


sandRoot

protected org.sandev.basics.nodecommon.SandRoot sandRoot
Our reference to the SandRoot

Constructor Detail

DefaultSingletonAccessorImpl

public DefaultSingletonAccessorImpl()
Default ctor for ease of access through reflection. Sets the singleton reference if null, otherwise leaves it alone.

Method Detail

getSingletonAccessor

public static org.sandev.basics.nodecommon.SingletonAccessor getSingletonAccessor()
Return the singleton reference to this class instance or null if not set yet.


getSandRoot

public org.sandev.basics.nodecommon.SandRoot getSandRoot()
accessor for sandRoot

Specified by:
getSandRoot in interface org.sandev.basics.nodecommon.SingletonAccessor

init

public void init(org.sandev.basics.nodecommon.SandRoot val)
mutator for sandRoot

Specified by:
init in interface org.sandev.basics.nodecommon.SingletonAccessor

getDeploymentPrefix

public java.lang.String getDeploymentPrefix()
Return the deployment prefix for this application.

Specified by:
getDeploymentPrefix in interface org.sandev.basics.nodecommon.SingletonAccessor