ar.com.jiji.kaya.app
Class ProjectBeanFactory

java.lang.Object
  extended by ar.com.jiji.kaya.app.ProjectBeanFactory

public final class ProjectBeanFactory
extends java.lang.Object

Obtiene por medio de Spring los principales objetos del sistema. Se le puede setear un bean factory a usar, sino usa un ClassPathXmlApplicationContext.

Version:
$Revision$ $Date$
Author:
lparra
See Also:
ClassPathXmlApplicationContext

Method Summary
static PasswordDigester getCryptoService()
           
static ProjectService getProjectService()
           
static UserAuthenticator getUserAuthenticator()
           
static void reset()
          Le avisa al bean factory que debe recargar la configuracion.
static void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
          Setea el bean factory a usar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCryptoService

public static PasswordDigester getCryptoService()

getProjectService

public static ProjectService getProjectService()

getUserAuthenticator

public static UserAuthenticator getUserAuthenticator()

reset

public static void reset()
Le avisa al bean factory que debe recargar la configuracion.


setBeanFactory

public static void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Setea el bean factory a usar.

Parameters:
beanFactory - Si es null, se usa ClassPathXmlApplicationContext.
See Also:
ClassPathXmlApplicationContext


Copyright © 2006 Kaya. All Rights Reserved.