当前页面:
在线文档首页 >
JBoss Seam 1.2.1 API 英文版文档
ComponentDescriptor (JBoss Seam API Documentation) - JBoss Seam 1.2.1 API 英文版文档
org.jboss.seam.init
Class ComponentDescriptor
java.lang.Object
org.jboss.seam.init.ComponentDescriptor
- All Implemented Interfaces:
- Comparable<ComponentDescriptor>
public class ComponentDescriptor
- extends Object
- implements Comparable<ComponentDescriptor>
name
protected String name
componentClass
protected Class<?> componentClass
scope
protected ScopeType scope
jndiName
protected String jndiName
installed
protected Boolean installed
autoCreate
protected boolean autoCreate
precedence
protected Integer precedence
ComponentDescriptor
public ComponentDescriptor(String name,
Class<?> componentClass,
ScopeType scope,
boolean autoCreate,
String jndiName,
Boolean installed,
Integer precedence)
- For components.xml
ComponentDescriptor
public ComponentDescriptor(String name,
Class<?> componentClass,
ScopeType scope)
- For a scanned role
ComponentDescriptor
public ComponentDescriptor(Class componentClass)
- For a scanned default role
ComponentDescriptor
public ComponentDescriptor(Class componentClass,
Boolean installed)
- For built-ins with special rules
getName
public String getName()
getScope
public ScopeType getScope()
getComponentClass
public Class getComponentClass()
getJndiName
public String getJndiName()
isAutoCreate
public boolean isAutoCreate()
getDependencies
public String[] getDependencies()
getGenericDependencies
public Class[] getGenericDependencies()
getClassDependencies
public String[] getClassDependencies()
isInstalled
public boolean isInstalled()
getPrecedence
public int getPrecedence()
compareTo
public int compareTo(ComponentDescriptor other)
- Specified by:
compareTo
in interface Comparable<ComponentDescriptor>
isFilter
public boolean isFilter()
isResourceProvider
public boolean isResourceProvider()
toString
public String toString()
- Overrides:
toString
in class Object