cuba.wired
Class PrimitiveWiredInstanceFactory

java.lang.Object
  extended by cuba.wired.PrimitiveWiredInstanceFactory
All Implemented Interfaces:
WiredInstanceFactoryI

public class PrimitiveWiredInstanceFactory
extends java.lang.Object
implements WiredInstanceFactoryI


Nested Class Summary
 
Nested classes/interfaces inherited from interface cuba.wired.WiredInstanceFactoryI
WiredInstanceFactoryI.ReferenceTypes
 
Constructor Summary
PrimitiveWiredInstanceFactory()
           
 
Method Summary
 WiredAdapter getComponent(WiredComponentDesc wiredComponentDesc, WiredComponentContext componentContext, java.lang.String interfaceType)
           
 java.lang.Object getComponentImpl(java.lang.Class implClass)
           
protected  WiredAdapter newAdapter(java.lang.Class adapterClass, WiredComponentContext componentContext, java.lang.Class implClass)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveWiredInstanceFactory

public PrimitiveWiredInstanceFactory()
Method Detail

newAdapter

protected WiredAdapter newAdapter(java.lang.Class adapterClass,
                                  WiredComponentContext componentContext,
                                  java.lang.Class implClass)
                           throws ConstructionException
Throws:
ConstructionException

getComponent

public WiredAdapter getComponent(WiredComponentDesc wiredComponentDesc,
                                 WiredComponentContext componentContext,
                                 java.lang.String interfaceType)
                          throws ConstructionException
Specified by:
getComponent in interface WiredInstanceFactoryI
Throws:
ConstructionException

getComponentImpl

public java.lang.Object getComponentImpl(java.lang.Class implClass)
Specified by:
getComponentImpl in interface WiredInstanceFactoryI

shutdown

public void shutdown()
Specified by:
shutdown in interface WiredInstanceFactoryI