com.softwareag.centrasite.appl.framework.validation.impl
Interface ScopeFactory

All Known Implementing Classes:
DefaultScopeFactory

public interface ScopeFactory

A factory for scopes. This is used by the annotation processor for creating scopes, based on the annotations contents.

The scope factory must be implemented by the application programmer. In other words, it is implemented by the frameworks user.


Method Summary
 Scope getScope(ValidatableFactory.Context pContext, java.lang.String pDescription)
          Creates a new instance of Scope, as specified by the given description.
 

Method Detail

getScope

Scope getScope(ValidatableFactory.Context pContext,
               java.lang.String pDescription)
               throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Creates a new instance of Scope, as specified by the given description. This method is called by the annotation processor.

Parameters:
pDescription - The scopes description.
Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException