Scala Monitoring and Control System API
com.lafros.macs.pd.an

trait ConstantsEtc

[source: com/lafros/macs/pd/an/ConstantsEtc.scala]

trait ConstantsEtc
extends AnyRef
_AnyPd mix-in for use where PD has constants.
Author
Rob Dickens
Direct Known Subclasses:
Pd, NonPollablePd

Type Summary
abstract type ConstantsType <: java.io.Serializable
Method Summary
protected def instantiate (clazz : java.lang.Class[AnyRef], constants : ConstantsType) : AnyRef
passes constants to the first public constructor found taking a single argument; if none was found, the class is instantiated assumning it has a public no-argument one.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Class Summary
trait ContextHavingConstants extends AnyContext
adds abstract constants.
trait ProxyHavingConstants extends Proxy
adds constants.
Type Details
abstract type ConstantsType <: java.io.Serializable

Method Details
protected def instantiate(clazz : java.lang.Class[AnyRef], constants : ConstantsType) : AnyRef
passes constants to the first public constructor found taking a single argument; if none was found, the class is instantiated assumning it has a public no-argument one.


Copyright 2009 Latterfrosken Software Development Limited