ch.elca.el4j.core.context
Class OrderedBeanNameHolder

java.lang.Object
  extended by ch.elca.el4j.core.context.OrderedBeanNameHolder
All Implemented Interfaces:
Ordered

public class OrderedBeanNameHolder
extends Object
implements Ordered

Holder for ordered beans. Hold is just the name and its order.

Author:
Philipp Oser (POS)
File-location:
OrderedBeanNameHolder
Last check-in date:
2009-08-04 15:24:14 +0200 (Di, 04. Aug 2009) by swismer for revision 3882

Field Summary
protected  String m_beanName
          Is the name of the bean.
protected  int m_order
          Is the order of the bean.
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
OrderedBeanNameHolder(int order, String beanName)
          Initializes the bean holder with the given name and order.
 
Method Summary
 String getBeanName()
           
 int getOrder()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_order

protected final int m_order
Is the order of the bean.


m_beanName

protected final String m_beanName
Is the name of the bean.

Constructor Detail

OrderedBeanNameHolder

public OrderedBeanNameHolder(int order,
                             String beanName)
Initializes the bean holder with the given name and order.

Parameters:
order - Is the bean order.
beanName - Is the name of the bean.
Method Detail

getOrder

public int getOrder()

Specified by:
getOrder in interface Ordered

getBeanName

public String getBeanName()
Returns:
Returns the name of the bean.


Copyright © 2005-2011 ELCA. All Rights Reserved.