jsystem.framework.system
Interface SystemObjectManager

All Known Implementing Classes:
SystemManagerImpl

public interface SystemObjectManager

This interface defines system object manager method getSystemObject. An instance of SystemObjectManager will be used in SystemTestCase to retrive the SystemObject.


Method Summary
 SystemObject getSystemObject(String name)
          Get the system object using the name and a '/sut' as the default path.
 SystemObject getSystemObject(String path, String name)
          Get the system object using the name and its path.
 

Method Detail

getSystemObject

public SystemObject getSystemObject(String name)
                             throws Exception
Get the system object using the name and a '/sut' as the default path.

Parameters:
name - the name of the object
Returns:
SystemObject The defined system object.
Throws:
Exception

getSystemObject

public SystemObject getSystemObject(String path,
                                    String name)
                             throws Exception
Get the system object using the name and its path.

Parameters:
path - the XPath to the object
name - the object name
Returns:
SystemObject The defined system object.
Throws:
Exception