public interface ComponentView
| Modifier and Type | Method and Description |
|---|---|
ManagedReference |
createInstance()
Create the component view instance.
|
ManagedReference |
createInstance(Map<Object,Object> contextData)
Create the component view instance using the additional context data
|
Component |
getComponent()
Get the associated component.
|
Method |
getMethod(String name,
String descriptor)
Gets a view method based on name and descriptor
|
<T> T |
getPrivateData(Class<T> clazz)
Provides a mechanism to attach arbitrary data to the component view
|
Class<?> |
getProxyClass() |
Class<?> |
getViewClass() |
Set<Method> |
getViewMethods() |
Object |
invoke(org.jboss.invocation.InterceptorContext interceptorContext)
Invoke on the component view interceptor chain.
|
boolean |
isAsynchronous(Method method) |
ManagedReference createInstance() throws Exception
ExceptionManagedReference createInstance(Map<Object,Object> contextData) throws Exception
contextData - Additional context data used in the view creationExceptionObject invoke(org.jboss.invocation.InterceptorContext interceptorContext) throws Exception
interceptorContext - The context of the invocationExceptionComponent getComponent()
Class<?> getProxyClass()
Class<?> getViewClass()
Method getMethod(String name, String descriptor)
name - the method namedescriptor - The method descriptor in JVM formatIllegalArgumentException - If the method cannot be found<T> T getPrivateData(Class<T> clazz)
clazz - The class of attachmentboolean isAsynchronous(Method method)
Copyright © 2018 JBoss by Red Hat. All rights reserved.