Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: minor spelling

...

Tapestry IOC makes use of runtime-evaluated symbols to handle certains certain types of configuration tasks.

...

Code Block
java
java
  public static MyService build(
      @InjectService("${some-service-id}") Collaborator collab)
  {
    return . . . ;
  }

Here, the symbol name, some-service-id is a service id, such as WackyCollaborator.

Although not shown here, it is possible to use multple multiple symbols inside the string, or mix literal text with symbols.

...