org.jage.platform.component.provider
Interface ISelfAwareComponentInstanceProvider

All Superinterfaces:
IComponentInstanceProvider
All Known Subinterfaces:
Injector<T>
All Known Implementing Classes:
AbstractInjector, ArrayInjector, AutowiringInjector, CachedInjector, CollectionInjector, ComponentInstanceProviderAwareInjector, CompositeInjector, ConstructorInjector, MapInjector, PropertiesInjector, StatefulComponentInjector, XmlPropertiesInjector

public interface ISelfAwareComponentInstanceProvider
extends IComponentInstanceProvider

A IComponentInstanceProvider which supplies a default component instance. This provider can return the component instance.

Author:
AGH AgE Team

Method Summary
 Object getInstance()
          Returns the component instance which is supplied by provider by default.
 String getName()
          Returns name of component which is supplied by provider by default.
 
Methods inherited from interface org.jage.platform.component.provider.IComponentInstanceProvider
getComponentType, getInstance, getInstance, getInstances, getParametrizedInstance
 

Method Detail

getInstance

Object getInstance()
Returns the component instance which is supplied by provider by default.

Returns:
required object or null if object not found

getName

String getName()
Returns name of component which is supplied by provider by default.

Returns:
component name


Copyright © 2006-2011 AGH University of Science and Technology. All Rights Reserved.