This is the parent class of all service model implementations.

Methods
Attributes
[R] service_point This is the service point that this model protects.
Public Class methods
new( service_point )

Create a new service model around the given service point.

    # File lib/copland/models/abstract.rb, line 55
55:       def initialize( service_point )
56:         @service_point = service_point
57:       end
register_as( name )

A convenience method for allowing subclasses to register themselves with the ClassFactory.

    # File lib/copland/models/abstract.rb, line 66
66:       def self.register_as( name )
67:         class_eval "def name\n\#{name.inspect}\nend\n"
68:         Copland::ClassFactory.instance.register( POOL_NAME, name, self )
69:       end
Public Instance methods
instance( &block )

Raises a NotImplementedException. Subclasses must override this method.

    # File lib/copland/models/abstract.rb, line 60
60:       def instance( &block )
61:         raise NotImplementedException
62:       end