org.apache.struts2.config
Class BeanSelectionProvider.ObjectFactoryDelegateFactory
java.lang.Object
org.apache.struts2.config.BeanSelectionProvider.ObjectFactoryDelegateFactory
- All Implemented Interfaces:
- Factory
- Enclosing class:
- BeanSelectionProvider
static class BeanSelectionProvider.ObjectFactoryDelegateFactory
- extends Object
- implements Factory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
String name
type
Class type
BeanSelectionProvider.ObjectFactoryDelegateFactory
BeanSelectionProvider.ObjectFactoryDelegateFactory(String name,
Class type)
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-2008 Apache Software Foundation. All Rights Reserved.