org.apache.turbine.om

## Class MockRetrieverFactory

- java.lang.Object
- - org.apache.turbine.om.MockRetrieverFactory

- All Implemented Interfaces:
    RetrieverFactory

      public class MockRetrieverFactory
      extends Object
      implements RetrieverFactory

  This mocks a `RetrieverFactory`.
  Author:
    Thomas Vandahl

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MockRetrieverFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Retriever` | `getInstance(String className)`

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

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

- - ### Constructor Detail

    - #### MockRetrieverFactory

          public MockRetrieverFactory()

  - ### Method Detail

    - #### getInstance

          public Retriever getInstance(String className)
                                throws Exception

      Specified by:
        `getInstance` in interface `RetrieverFactory`
      Throws:
        `Exception`
      See Also:
        `RetrieverFactory.getInstance(java.lang.String)`

Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.