public class ManagementHomeEjbComponentView extends Object
Constructor and Description |
---|
ManagementHomeEjbComponentView() |
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) |
public Object invoke(org.jboss.invocation.InterceptorContext interceptorContext) throws Exception
ComponentView
interceptorContext
- The context of the invocationException
public <T> T getPrivateData(Class<T> clazz)
ComponentView
clazz
- The class of attachmentpublic ManagedReference createInstance()
ComponentView
createInstance
in interface ComponentView
public ManagedReference createInstance(Map<Object,Object> contextData)
ComponentView
createInstance
in interface ComponentView
contextData
- Additional context data used in the view creationpublic Component getComponent()
ComponentView
getComponent
in interface ComponentView
public Class<?> getProxyClass()
getProxyClass
in interface ComponentView
public Class<?> getViewClass()
getViewClass
in interface ComponentView
public Set<Method> getViewMethods()
getViewMethods
in interface ComponentView
public Method getMethod(String name, String descriptor)
ComponentView
getMethod
in interface ComponentView
name
- the method namedescriptor
- The method descriptor in JVM formatpublic boolean isAsynchronous(Method method)
isAsynchronous
in interface ComponentView
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.