|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester Proxy SDK Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProxyBase
These methods are implemented by all proxies, and may be called from any Channel. In particular, they may be called from the base channel.
Method Summary | |
---|---|
TestDomainImplementation |
getTestDomain()
Returns the TestDomain that this proxy object is associated
with. |
java.lang.String |
getTestObjectClassName()
Returns a valid class name specification. |
boolean |
isValidObject()
Returns true if the underlying object is still valid. |
Method Detail |
---|
TestDomainImplementation getTestDomain()
TestDomain
that this proxy object is associated
with.
TestDomain
class full name.java.lang.String getTestObjectClassName()
TestObject
class. The testObject
performs a cross-process (and cross-JVM) call to the same method against an associated proxy, which is this proxy.
This method should never return null
, even if shouldBeMapped()
returns false
. User may still access objects such as this through scripting method calls and can return references to them.
If a null were returned, the marshalling code would be confused and would not be able to construct a test object.
This method may be called from any thread.
testObject
class full name.boolean isValidObject()
true
if the underlying object is still valid.
This method is called by the framework when the proxy is being invoked through reflection. In some domains, the proxies access to the underlying object may not be guaranteed, but there may be some checks that could be used to safeguard the proxy. For example, in Microsoft Windows, a proxy that wrapped an HWND-based object might want to validate that the HWND was still correct. It might do this by checking the window classname, the thread to which the window belongs, and the validity of the window handle itself. The default implementation just returns true.
If this returns false, subsequent calls to the object may be blocked.
true
if the underlying object is valid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |