Package gda.jython
Interface IDefaultScannableProvider
- All Known Subinterfaces:
LocalJython
- All Known Implementing Classes:
JythonServer,MockJythonServerFacade
public interface IDefaultScannableProvider
Interface used by some classes to get the default scannable Provided to ensure loose coupling between callers and
command runner implementation The methods in this interface should be not distributed over Corba, but should only be
used by objects local to the object implementing this interface, i.e. the methods should only be using in scans or
during testing.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a collection of scannable objects which must be called in every scan.
-
Method Details
-
getDefaultScannables
Collection<Scannable> getDefaultScannables()Returns a collection of scannable objects which must be called in every scan. Used by scans to construct the list of objects whose positions are reported at every node of a scan.This returns a collection of object references of all the objects in the Jython namepsace listed in the DefaultScannablesList object named "scannablesList" in the configuration information.
As this method returns object references, this method must only be called by objects local to this object. This method must never be available remotely.
- Returns:
- Collection
-