org.jdiameter.client.api
Interface IAssembler

All Known Implementing Classes:
AssemblerImpl

public interface IAssembler

This interface provide IOC functionality Data: $Date: 2009/10/10 20:17:57 $ Revision: $Revision: 1.2 $

Version:
1.5.0.1
Author:
erick.svenson@yahoo.com, Alexandre Mendonca , Bartosz Baranowski

Method Summary
 void destroy()
          Release all attached resources
 IAssembler[] getChilds()
          Return all children
<T> T
getComponentInstance(java.lang.Class<T> aClass)
          Register new component
 IAssembler getParent()
          Return parent IOC
 void registerComponentImplementation(java.lang.Class<?> aClass, java.lang.Object object)
          Register new component
 void registerComponentInstance(java.lang.Object object)
          Register new component
 

Method Detail

getParent

IAssembler getParent()
Return parent IOC

Returns:
IOC instance

getChilds

IAssembler[] getChilds()
Return all children

Returns:
all children

getComponentInstance

<T> T getComponentInstance(java.lang.Class<T> aClass)
Register new component

Parameters:
aClass - class of component
Returns:
instance of component

registerComponentInstance

void registerComponentInstance(java.lang.Object object)
Register new component

Parameters:
object - instance of component

registerComponentImplementation

void registerComponentImplementation(java.lang.Class<?> aClass,
                                     java.lang.Object object)
Register new component

Parameters:
aClass - class of component
object - instance of component

destroy

void destroy()
Release all attached resources



Copyright © 2014. All Rights Reserved.