com.xenonsoft.bridgetown.test
Class ConstructorInjectionDummyBean

java.lang.Object
  extended bycom.xenonsoft.bridgetown.test.ConstructorInjectionDummyBean

public class ConstructorInjectionDummyBean
extends java.lang.Object

Sample constructor injection bean with a reference dependency. By the way this bean is immutable.

Version:
$Id: ConstructorInjectionDummyBean.java,v 1.5 2005/02/23 01:32:38 peter_pilgrim Exp $
Author:
peterp, 15-Sep-2004

Constructor Summary
ConstructorInjectionDummyBean(java.lang.String fullName, int age, CrashTestDummy testDummy)
          A special constructor
 
Method Summary
 int getAge()
          Gets the age
 java.lang.String getFullName()
          Gets the fullName
 CrashTestDummy getTestDummy()
          Gets the testDummy
 java.lang.String toString()
          Dump debuggable string for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstructorInjectionDummyBean

public ConstructorInjectionDummyBean(java.lang.String fullName,
                                     int age,
                                     CrashTestDummy testDummy)
A special constructor

Method Detail

getAge

public int getAge()
Gets the age

Returns:
Returns the age.

getFullName

public java.lang.String getFullName()
Gets the fullName

Returns:
Returns the fullName.

getTestDummy

public CrashTestDummy getTestDummy()
Gets the testDummy

Returns:
Returns the testDummy.

toString

public java.lang.String toString()
Dump debuggable string for this object. Implements / overrides toString

Returns:
String
See Also:
Object.toString()


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.