SmartFrog 3.10.000

org.smartfrog.sfcore.languages.sf.sfcomponentdescription
Interface ComponentResolver

All Known Subinterfaces:
ComponentResolver, CSFComponentDescription, SFComponentDescription
All Known Implementing Classes:
CSFComponentDescriptionImpl, SFComponentDescriptionImpl

public interface ComponentResolver

Specifies the resolution interface to be implemented by all attributes (including component attributes, that need resolution at compile time and pre-deployment time.


Method Summary
 void doLinkResolve(ResolutionState resState)
          Internal recursive method for doing the actual link resolution.
 void doPlaceResolve(ResolutionState resState)
          Internal recursive method for doing the actual placement resolution.
 void doTypeResolve(ResolutionState resState)
          Internal recursive method for doing the actual type resolution.
 void linkResolve()
          Internal method that performs a pre-deployment resolution on the object implementing this interface.
 void placeResolve()
          Internal method that place resolves a parsed component.
 void typeResolve()
          Internal method that type resolves a parsed component.
 

Method Detail

placeResolve

void placeResolve()
                  throws SmartFrogCompileResolutionException
Internal method that place resolves a parsed component. Place resolving places all attributes which have a reference (eager) as attribute name in their target component.

Throws:
SmartFrogCompileResolutionException - failed to place resolve

doPlaceResolve

void doPlaceResolve(ResolutionState resState)
                    throws SmartFrogCompileResolutionException
Internal recursive method for doing the actual placement resolution. Implementors place any attributes with an eager reference as key in the prospective component.

Parameters:
resState - resolution state
Throws:
SmartFrogCompileResolutionException - failed to place resolve

typeResolve

void typeResolve()
                 throws SmartFrogCompileResolutionException
Internal method that type resolves a parsed component. Place resolving finds all supertypes and flattens them out.

Throws:
SmartFrogCompileResolutionException - failed to type resolve

doTypeResolve

void doTypeResolve(ResolutionState resState)
                   throws SmartFrogCompileResolutionException
Internal recursive method for doing the actual type resolution.

Parameters:
resState - resolution state
Throws:
SmartFrogCompileResolutionException - failed to type resolve

linkResolve

void linkResolve()
                 throws SmartFrogCompileResolutionException
Internal method that performs a pre-deployment resolution on the object implementing this interface. Pre-deployment resolution means finding all eager reference values, resolving them, and copying the result into the target component

Throws:
SmartFrogCompileResolutionException - failed to deploy resolve

doLinkResolve

void doLinkResolve(ResolutionState resState)
                   throws SmartFrogCompileResolutionException
Internal recursive method for doing the actual link resolution.

Parameters:
resState - resolution state
Throws:
SmartFrogCompileResolutionException - failed to deploy resolve

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP