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.apache.tapestry5.internal.plastic
Interface ClassLoaderDelegate

All Known Implementing Classes:
  AbstractReloadableObjectCreator, PlasticClassPool, ReloadableObjectCreator, ReloadableServiceImplementationObjectCreator

    public interface ClassLoaderDelegate

Externalizes the logic for defining which classes will be loaded (and possibly transformed) by the class loader, and which will be loaded by the parent class loader.

Method Summary
`java.lang.Class<?>` | `loadAndTransformClass(java.lang.String className)` Load the class, transforming it as necessary.
`boolean` | `shouldInterceptClassLoading(java.lang.String className)` Identifies which classes are to be loaded.

Method Detail

### shouldInterceptClassLoading

    boolean shouldInterceptClassLoading(java.lang.String className)

  Identifies which classes are to be loaded.

  Parameters:
    `className` - fully qualified class name
  Returns:
    true if the class should be intercepted, false to let parent class loader load class

### loadAndTransformClass

    java.lang.Class<?> loadAndTransformClass(java.lang.String className)
                                             throws java.lang.ClassNotFoundException

  Load the class, transforming it as necessary.

  Parameters:
    `className` - binary class name
  Returns:
    loaded and (if not an inner class) transformed class
  Throws:
    `java.lang.ClassNotFoundException`

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-2012 The Apache Software Foundation.