siouxsie.mvc.impl
Class GuiceInitializer

java.lang.Object
  extended by siouxsie.mvc.impl.GuiceInitializer
All Implemented Interfaces:
IInitializer

public class GuiceInitializer
extends java.lang.Object
implements IInitializer

Initializer using the Guice XWork container to inject IScreen. Does not initialize Action, as they are already initialized by XWork.

Version:
$Id$
Author:
Arnaud Cogoluegnes

Constructor Summary
GuiceInitializer()
           
 
Method Summary
 com.opensymphony.xwork2.inject.Container getContainer()
           
 void initializeAction(java.lang.Object action)
          Initialize an action.
 void initializeScreen(IScreen screen)
          Initialize a screen.
 void setContainer(com.opensymphony.xwork2.inject.Container container)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiceInitializer

public GuiceInitializer()
Method Detail

initializeAction

public void initializeAction(java.lang.Object action)
Description copied from interface: IInitializer
Initialize an action.

Specified by:
initializeAction in interface IInitializer

initializeScreen

public void initializeScreen(IScreen screen)
Description copied from interface: IInitializer
Initialize a screen.

Specified by:
initializeScreen in interface IInitializer

getContainer

public com.opensymphony.xwork2.inject.Container getContainer()

setContainer

public void setContainer(com.opensymphony.xwork2.inject.Container container)


Copyright © 2006-2008 null. All Rights Reserved.