public interface ComponentInstance extends Serializable
Modifier and Type | Method and Description |
---|---|
Collection<Method> |
allowedMethods()
Get the list of allowed methods for this component instance.
|
void |
destroy()
Destroy this component instance.
|
Component |
getComponent()
Get the component associated with this instance.
|
Object |
getInstance()
Get the actual object instance.
|
Object |
getInstanceData(Object key)
Gets some data that was attached to this component instance
|
org.jboss.invocation.Interceptor |
getInterceptor(Method method)
Get the instance interceptor (entry point) for the given method.
|
void |
setInstanceData(Object key,
Object value)
Attaches some data to this component instance.
|
Component getComponent()
Object getInstance()
org.jboss.invocation.Interceptor getInterceptor(Method method) throws IllegalStateException
method
- the methodIllegalStateException
- if the method does not existCollection<Method> allowedMethods()
Method
objects.void destroy()
Object getInstanceData(Object key)
key
- The component data keyCopyright © 2015 JBoss by Red Hat. All rights reserved.