Scala Monitoring and Control System API
com.lafros.macs.Di

object Factory

[source: com/lafros/macs/Di.scala]

object Factory
extends AnyRef
companion.
Value Summary
lazy val instance : Factory
Method Summary
def checkDiName (name : java.lang.String) : Unit
A domain.like.name should be used, and the following rules applied:
  • only letters, digits, spaces (and dots) are allowed
  • dots may not be preceded or succeeded by a space
  • must end with a letter or digit.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
lazy val instance : Factory

Method Details
def checkDiName(name : java.lang.String) : Unit
A domain.like.name should be used, and the following rules applied:
  • only letters, digits, spaces (and dots) are allowed
  • dots may not be preceded or succeeded by a space
  • must end with a letter or digit.
Throws
NullPointerException - if name null
IllegalArgumentException - if name breaks any of the above rules


Copyright 2009 Latterfrosken Software Development Limited