Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.nanocontainer.script.groovy
Class GroovyScriptGenerator

    java.lang.Object
      org.nanocontainer.script.groovy.GroovyScriptGenerator

    public class GroovyScriptGenerator

extends Object

This class can generate a Groovy script from a preconfigured container. This script can be passed to `GroovyContainerBuilder` to recreate a new container with the same configuration.

This is practical in situations where a container configuration needs to be saved.

Version:
  $Revision: 3144 $
Author:
  Aslak Hellesøy

Constructor Summary
`GroovyScriptGenerator()`

Method Summary
`String` | `generateScript(org.picocontainer.MutablePicoContainer pico)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GroovyScriptGenerator

    public GroovyScriptGenerator()

Method Detail

### generateScript

    public String generateScript(org.picocontainer.MutablePicoContainer pico)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2007 Codehaus. All Rights Reserved.