When a remote object fetched over network then client need to create stub and its implementation to locate it. So this static narrow method provides necessary implementation.
Excerpts from java api ,
" The narrow method takes an object reference or abstract interface type and attempts to narrow it to conform to the given interface. If the operation is successful the result will be an object of the specified type, otherwise an exception will be thrown. "
Excerpts from java api ,
" The narrow method takes an object reference or abstract interface type and attempts to narrow it to conform to the given interface. If the operation is successful the result will be an object of the specified type, otherwise an exception will be thrown. "
No comments:
Post a Comment