org.atmosphere.di
Interface Injector


public interface Injector

Represent an injector, capable of providing instances or inject resources into objects. Implementations are likely to delegate to some DI frameworks like Google Guice or Spring

Since:
0.7
Author:
Mathieu Carbou

Method Summary
 void inject(Object o)
          Asks the underlying DI framework to inject resources into this instance.
 

Method Detail

inject

void inject(Object o)
Asks the underlying DI framework to inject resources into this instance. This method can be used when instances are not created by the DI framework but with Atmosphere instead.

Parameters:
o - The instance to inject


Copyright © 2011. All Rights Reserved.