org.hudsonci.inject.injecto.internal
Class InjectomaticImpl

java.lang.Object
  extended by org.hudsonci.inject.injecto.internal.InjectomaticImpl
All Implemented Interfaces:
Injectomatic

@Named
@Singleton
public class InjectomaticImpl
extends Object
implements Injectomatic

Default Injectomatic implementation.

Since:
1.397
Author:
Jason Dillon

Constructor Summary
InjectomaticImpl(SmoothieContainer container)
           
 
Method Summary
 void inject(Object component)
          Perform injection on the given component.
 boolean isInjectable(Class type)
          Determine if the given type is injectable.
 void register(Class type)
          Register a class as being injectable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectomaticImpl

@Inject
public InjectomaticImpl(SmoothieContainer container)
Method Detail

register

public void register(Class type)
Description copied from interface: Injectomatic
Register a class as being injectable. Any sub-classes are also considered injectable.

Specified by:
register in interface Injectomatic

isInjectable

public boolean isInjectable(Class type)
Description copied from interface: Injectomatic
Determine if the given type is injectable.

Specified by:
isInjectable in interface Injectomatic

inject

public void inject(Object component)
Description copied from interface: Injectomatic
Perform injection on the given component.

Specified by:
inject in interface Injectomatic


Copyright © 2004-2011 Hudson. All Rights Reserved.