org.jboss.cdi.tck.tests.context.passivating.injection
Class Farm

java.lang.Object
  extended by org.jboss.cdi.tck.tests.context.passivating.injection.Farm
All Implemented Interfaces:
Serializable

@SessionScoped
public class Farm
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
protected Farm()
           
  Farm(Truck truck, Pasture pasture)
           
 
Method Summary
 Sheep chooseRandomSheepFromDelivery(Truck truck, Pasture pasture)
           
 void init(Truck truck, Pasture pasture)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Farm

protected Farm()

Farm

@Inject
public Farm(Truck truck,
                   Pasture pasture)
Method Detail

init

@Inject
public void init(Truck truck,
                        Pasture pasture)

chooseRandomSheepFromDelivery

@Produces
@Random
@SessionScoped
public Sheep chooseRandomSheepFromDelivery(Truck truck,
                                                                         Pasture pasture)


Copyright © 2008-2012 Seam Framework. All Rights Reserved.