Class DefaultImplementationBuilderImpl
- java.lang.Object
-
- org.apache.tapestry5.ioc.internal.services.DefaultImplementationBuilderImpl
-
- All Implemented Interfaces:
DefaultImplementationBuilder
public class DefaultImplementationBuilderImpl extends java.lang.Object implements DefaultImplementationBuilder
-
-
Constructor Summary
Constructors Constructor Description DefaultImplementationBuilderImpl(PlasticProxyFactory proxyFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <S> S
createDefaultImplementation(java.lang.Class<S> serviceInterface)
Creates a new implementation of the provided interface.
-
-
-
Constructor Detail
-
DefaultImplementationBuilderImpl
public DefaultImplementationBuilderImpl(@Builtin PlasticProxyFactory proxyFactory)
-
-
Method Detail
-
createDefaultImplementation
public <S> S createDefaultImplementation(java.lang.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 interfaceDefaultImplementationBuilder
- Returns:
- implementation of service interface
-
-