Package org.apache.tapestry5.ioc.internal.services

# Class DefaultImplementationBuilderImpl

java.lang.Object
org.apache.tapestry5.ioc.internal.services.DefaultImplementationBuilderImpl

All Implemented Interfaces:
  `DefaultImplementationBuilder`

public class DefaultImplementationBuilderImpl extends Object implements DefaultImplementationBuilder

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultImplementationBuilderImpl(PlasticProxyFactory proxyFactory)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `<S> S`
  `createDefaultImplementation(Class<S> serviceInterface)`
  Creates a new implementation of the provided interface.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DefaultImplementationBuilderImpl

    public DefaultImplementationBuilderImpl(@Builtin PlasticProxyFactory proxyFactory)

- ## Method Details

  - ### createDefaultImplementation

    public <S> S createDefaultImplementation(Class<S> serviceInterface)
    Description copied from interface: `DefaultImplementationBuilder`
    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).
    Specified by:
      `createDefaultImplementation` in interface `DefaultImplementationBuilder`
    Returns:
      implementation of service interface