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.ioc.services
Interface DefaultImplementationBuilder

All Known Implementing Classes:
  DefaultImplementationBuilderImpl

    public interface DefaultImplementationBuilder

Creates default implementatons of a class.

See Also:
  `ClassFab.addNoOpMethod(MethodSignature)`

Method Summary
`
`<S> S`
` | `createDefaultImplementation(java.lang.Class<S> serviceInterface)` Creates a new implementation of the provided interface.

Method Detail

### createDefaultImplementation

    <S> S createDefaultImplementation(java.lang.Class<S> serviceInterface)

  Creates a new implementation of the provided interface. Each method in the interface will be implemented as a noop method. The method will ignore any parameters and return null, or 0, or false (or return nothing if the method is void).

  Type Parameters:
    `S` -
  Parameters:
    `serviceInterface` -
  Returns:
    implementation of service interface

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.