de.devsurf.injection.guice.reflections.example.autobind.names
Class ExampleImpl

java.lang.Object
  extended by de.devsurf.injection.guice.reflections.example.autobind.names.ExampleImpl
All Implemented Interfaces:
Example

@Named(value="Example")
public class ExampleImpl
extends Object
implements Example

This class implements the Example interface and uses the AutoBind- Annotation, so it will be recognized by the ClasspathScanner and bound to the Name "Example". In this Example the ReflectionsScanner is used.

Author:
Daniel Manzke

Constructor Summary
ExampleImpl()
           
 
Method Summary
 String sayHello()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleImpl

public ExampleImpl()
Method Detail

sayHello

public String sayHello()
Specified by:
sayHello in interface Example


Copyright © 2010. All Rights Reserved.