Methods
Modifier and Type |
Method and Description |
void |
addInterceptor(Interceptor interceptor) |
void |
addInterceptor(Object interceptorInstance) |
boolean |
beanClassHasAnnotation(Class annotationType) |
boolean |
beanClassHasAnnotation(String annotationName) |
boolean |
businessInterfaceHasAnnotation(Class annotationType) |
Object |
callComponentMethod(Object instance,
Method method,
Object... parameters) |
void |
callCreateMethod(Object instance) |
void |
callDestroyMethod(Object instance) |
void |
callPostActivateMethod(Object instance) |
void |
callPostConstructMethod(Object instance) |
void |
callPreDestroyMethod(Object instance) |
void |
callPrePassivateMethod(Object instance) |
protected void |
checkPersistenceContextForComponentType() |
protected void |
checkSynchronizedForComponentType() |
static Class<javassist.util.proxy.ProxyObject> |
createProxyFactory(ComponentType type,
Class beanClass,
Collection<Class> businessInterfaces) |
List<Object> |
createUserInterceptors(InterceptorType type) |
void |
destroy(Object bean) |
void |
disinject(Object bean)
Null out any @In attributes of a component instance.
|
static Component |
forName(String name) |
Set<Class> |
getBusinessInterfaces() |
static Set<Class> |
getBusinessInterfaces(Class clazz) |
List<Interceptor> |
getClientSideInterceptors()
For use with Seam debug page.
|
static String |
getComponentName(Class<?> clazz) |
Method |
getCreateMethod() |
Method |
getDefaultRemoveMethod() |
String[] |
getDependencies() |
Method |
getDestroyMethod() |
Collection<Namespace> |
getImports() |
List<Component.BijectedAttribute<In>> |
getInAttributes() |
static Object |
getInstance(Class<?> clazz) |
static Object |
getInstance(Class<?> clazz,
boolean create) |
static Object |
getInstance(Class<?> clazz,
ScopeType scope) |
static Object |
getInstance(Class<?> clazz,
ScopeType scope,
boolean create) |
static Object |
getInstance(String name) |
static Object |
getInstance(String name,
boolean create) |
static Object |
getInstance(String name,
boolean create,
boolean allowAutocreation) |
static Object |
getInstance(String name,
ScopeType scope) |
static Object |
getInstance(String name,
ScopeType scope,
boolean create) |
static Object |
getInstance(String name,
ScopeType scope,
boolean create,
boolean allowAutocreation) |
static Object |
getInstanceFromFactory(String name) |
List<Interceptor> |
getInterceptors(InterceptorType type) |
String |
getName() |
Namespace |
getNamespace() |
List<Component.BijectedAttribute<Out>> |
getOutAttributes() |
List<Component.BijectedAttribute> |
getPersistenceContextAttributes() |
Method |
getPostActivateMethod() |
Method |
getPostConstructMethod() |
Method |
getPreDestroyMethod() |
Method |
getPrePassivateMethod() |
Method |
getRemoveMethod(String name) |
Collection<Method> |
getRemoveMethods() |
ScopeType |
getScope() |
List<Interceptor> |
getServerSideInterceptors()
For use with Seam debug page.
|
long |
getTimeout() |
ComponentType |
getType() |
Method |
getUnwrapMethod() |
boolean |
hasConversationManagementMethods() |
boolean |
hasCreateMethod() |
boolean |
hasDefaultRemoveMethod() |
boolean |
hasDestroyMethod() |
boolean |
hasPostActivateMethod() |
boolean |
hasPostConstructMethod() |
boolean |
hasPreDestroyMethod() |
boolean |
hasPrePassivateMethod() |
boolean |
hasUnwrapMethod() |
void |
initialize(Object bean) |
void |
inject(Object bean,
boolean enforceRequired)
Inject context variable values into @In attributes
of a component instance.
|
protected Object |
instantiate() |
protected Object |
instantiateEntityBean() |
protected Object |
instantiateJavaBean() |
protected Object |
instantiateSessionBean() |
boolean |
isConversationManagementMethod(Method method) |
boolean |
isInstance(Object bean) |
boolean |
isInterceptionEnabled() |
boolean |
isLifecycleMethod(Method method) |
boolean |
isPerNestedConversation() |
boolean |
isSecure() |
boolean |
isStartup() |
boolean |
isSynchronize() |
boolean |
needsInjection() |
boolean |
needsOutjection() |
Object |
newInstance() |
void |
outject(Object bean,
boolean enforceRequired)
Outject context variable values from @Out attributes
of a component instance.
|
protected void |
postConstruct(Object bean) |
protected void |
postConstructEntityBean(Object bean) |
protected void |
postConstructJavaBean(Object bean) |
protected void |
postConstructSessionBean(Object bean) |
String |
toString() |
Object |
wrap(Object bean,
javassist.util.proxy.MethodHandler interceptor)
Wrap a Javassist interceptor around an instance of the component
|