当前页面: 
在线文档首页 > 
JBoss Seam  1.0.1 API 英文版文档
Component (JBoss Seam API Documentation) - JBoss Seam  1.0.1 API 英文版文档
org.jboss.seam
Class Component
java.lang.Object
   org.jboss.seam.Component
org.jboss.seam.Component
- @Scope(value=APPLICATION)
public class Component 
- extends Object
A Seam component is any POJO managed by Seam.
 A POJO is recognized as a Seam component if it has a @Name annotation
- Version:
- $Revision: 1.130 $
- Author:
- Thomas Heute, Gavin King
 
 
 
 
PROPERTIES
public static final String PROPERTIES
- See Also:
- Constant Field Values
Component
public Component(Class<?> clazz)
Component
public Component(Class<?> clazz,
                 String componentName)
Component
public Component(Class<?> clazz,
                 String componentName,
                 ScopeType componentScope)
Component
public Component(Class<?> clazz,
                 Context applicationContext)
Component
public Component(Class<?> clazz,
                 String componentName,
                 ScopeType componentScope,
                 Context applicationContext)
getBeanClass
public Class<?> getBeanClass()
- 
 
getName
public String getName()
- 
 
getType
public ComponentType getType()
- 
 
getScope
public ScopeType getScope()
- 
 
getValidator
public org.hibernate.validator.ClassValidator getValidator()
- 
 
getInterceptors
public List<Interceptor> getInterceptors()
- 
 
getDestroyMethod
public Method getDestroyMethod()
- 
 
getRemoveMethods
public Set<Method> getRemoveMethods()
- 
 
getValidateMethods
public Set<Method> getValidateMethods()
- 
 
hasDestroyMethod
public boolean hasDestroyMethod()
- 
 
hasCreateMethod
public boolean hasCreateMethod()
- 
 
getCreateMethod
public Method getCreateMethod()
- 
 
hasUnwrapMethod
public boolean hasUnwrapMethod()
- 
 
getUnwrapMethod
public Method getUnwrapMethod()
- 
 
getOutFields
public Set<Field> getOutFields()
- 
 
getOutMethods
public Set<Method> getOutMethods()
- 
 
getInMethods
public Set<Method> getInMethods()
- 
 
getInFields
public Set<Field> getInFields()
- 
 
newInstance
public Object newInstance()
- 
 
needsInjection
public boolean needsInjection()
- 
 
needsOutjection
public boolean needsOutjection()
- 
 
instantiate
protected Object instantiate()
                      throws Exception
- 
- Throws:
- Exception
 
initialize
protected Object initialize(Object bean)
                     throws Exception
- 
- Throws:
- Exception
 
inject
public void inject(Object bean)
- 
 
getRequestParameters
public static Map getRequestParameters()
- 
 
convertRequestParameter
public static Object convertRequestParameter(Object requestParameter,
                                             Class type)
- 
 
outject
public void outject(Object bean)
- 
 
isInstance
public boolean isInstance(Object bean)
- 
 
getBusinessInterfaces
public Set<Class> getBusinessInterfaces()
- 
 
forName
public static Component forName(String name)
- 
 
getInstance
public static Object getInstance(Class<?> clazz)
- 
 
getInstance
public static Object getInstance(Class<?> clazz,
                                 boolean create)
- 
 
getInstance
public static Object getInstance(Class<?> clazz,
                                 ScopeType scope,
                                 boolean create)
- 
 
getInstance
public static Object getInstance(String name)
- 
 
getInstance
public static Object getInstance(String name,
                                 boolean create)
- 
 
getInstance
public static Object getInstance(String name,
                                 ScopeType scope,
                                 boolean create)
- 
 
getInstanceFromFactory
public static Object getInstanceFromFactory(String name)
- 
 
newInstance
public static Object newInstance(String name)
- 
 
callComponentMethod
public static Object callComponentMethod(Component component,
                                         Object instance,
                                         Method method)
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
getInterceptionType
public InterceptionType getInterceptionType()
- 
 
isStartup
public boolean isStartup()
- 
 
getDependencies
public String[] getDependencies()
- 
 
isMutable
public boolean isMutable()
-