net.sf.hermesftp.utils
Class AbstractAppAwareBean

java.lang.Object
  extended by net.sf.hermesftp.utils.AbstractAppAwareBean
All Implemented Interfaces:
BeanConstants, org.springframework.context.ApplicationContextAware
Direct Known Subclasses:
AbstractFtpServer

public abstract class AbstractAppAwareBean
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware, BeanConstants

Provides a basic, application context aware class that can be subclassed.

Author:
Lars Behnke

Field Summary
 
Fields inherited from interface net.sf.hermesftp.common.BeanConstants
BEAN_CONSOLE, BEAN_SERVER, BEAN_SESSION, BEAN_SSL_SERVER
 
Constructor Summary
AbstractAppAwareBean()
           
 
Method Summary
 org.springframework.context.ApplicationContext getApplicationContext()
          Getter method for the java bean applicationContext.
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAppAwareBean

public AbstractAppAwareBean()
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)

Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware

getApplicationContext

public org.springframework.context.ApplicationContext getApplicationContext()
Getter method for the java bean applicationContext.

Returns:
Returns the value of the java bea applicationContext.


Copyright © 2005-2007 Lars Behnke. All Rights Reserved.