|
SmartFrog 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteReferenceResolver
This makes a reference resolver interface available for remotable objects. ReferenceResolver can not extend from Remote since RMI would then try to marshal a stub to component descriptions on the wire, thinking the description is remotable because it indirectly inherits Remote. Interfaces or classes that need to offer reference resolution and be serializable should implement ReferenceResolver while remotable classes or interfaces should implement RemoteReferenceResolver
| Method Summary | |
|---|---|
java.lang.Object |
sfResolve(Reference r)
Resolves a given reference. |
java.lang.Object |
sfResolve(Reference reference,
int index)
Resolves a reference starting at a given index. |
java.lang.Object |
sfResolveHere(java.lang.Object name)
Find an attribute in this context. |
java.lang.Object |
sfResolveHere(java.lang.Object name,
boolean mandatory)
Find an attribute in this context. |
java.lang.Object |
sfResolveParent()
Resolves parent reference of the given reference. |
| Method Detail |
|---|
java.lang.Object sfResolve(Reference r)
throws java.rmi.RemoteException,
SmartFrogResolutionException
r - reference to resolve
SmartFrogResolutionException - if any error occurrs while resolving
java.rmi.RemoteException - if there is any network/rmi error
java.lang.Object sfResolve(Reference reference,
int index)
throws java.rmi.RemoteException,
SmartFrogResolutionException
reference - reference to be resolvedindex - starting index
SmartFrogResolutionException - if any error occurrs while resolving
java.rmi.RemoteException - if there is any network/rmi error
java.lang.Object sfResolveParent()
throws java.rmi.RemoteException,
SmartFrogResolutionException
SmartFrogResolutionException - if any error occurrs while resolving
java.rmi.RemoteException - if there is any network/rmi error
java.lang.Object sfResolveHere(java.lang.Object name)
throws java.rmi.RemoteException,
SmartFrogResolutionException
name - attribute key to resolve
SmartFrogResolutionException - failed to find attribute
java.rmi.RemoteException - if there is any network/rmi error
java.lang.Object sfResolveHere(java.lang.Object name,
boolean mandatory)
throws SmartFrogResolutionException,
java.rmi.RemoteException
name - attribute key to resolvemandatory - boolean that indicates if this attribute must be
present in the description. If it is mandatory and not found it
throws a SmartFrogResolutionException
SmartFrogResolutionException - failed to find attribute
java.rmi.RemoteException - In case of network/rmi error
|
SmartFrog CORE 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||