org.apache.struts2.config
Class BeanSelectionProvider.ObjectFactoryDelegateFactory

java.lang.Object
  extended by org.apache.struts2.config.BeanSelectionProvider.ObjectFactoryDelegateFactory
All Implemented Interfaces:
Factory
Enclosing class:
BeanSelectionProvider

static class BeanSelectionProvider.ObjectFactoryDelegateFactory
extends Object
implements Factory


Field Summary
(package private)  String name
           
(package private)  Class type
           
 
Constructor Summary
BeanSelectionProvider.ObjectFactoryDelegateFactory(String name, Class type)
           
 
Method Summary
 Object create(Context context)
          Creates an object to be injected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

String name

type

Class type
Constructor Detail

BeanSelectionProvider.ObjectFactoryDelegateFactory

BeanSelectionProvider.ObjectFactoryDelegateFactory(String name,
                                                   Class type)
Method Detail

create

public Object create(Context context)
              throws Exception
Description copied from interface: Factory
Creates an object to be injected.

Specified by:
create in interface Factory
Parameters:
context - of this injection
Returns:
instance to be injected
Throws:
Exception - if unable to create object


Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.