public interface EJBInvocation
Modifier and Type | Method and Description |
---|---|
boolean |
authorizeWebService(Method method)
Use the underlying container to authorize this invocation
|
javax.ejb.EJBContext |
getEJBContext() |
Object |
getJaccEjb()
Used by JACC implementation to get an enterprise bean
instance for the EnterpriseBean policy handler.
|
Object |
getMessage()
This is for EJB JAXWS only.
|
Method |
getMethod() |
Object[] |
getMethodParams() |
Method |
getWebServiceMethod() |
Object |
getWebServiceTie() |
boolean |
isAWebService() |
boolean |
isCallerInRole(String role) |
<T> void |
setMessage(T message)
This is for EJB JAXWS only.
|
void |
setMessageContext(javax.xml.rpc.handler.MessageContext context)
Used for setting JAX-RPC message context.
|
void |
setWebServiceContext(Object webServiceContext) |
void |
setWebServiceMethod(Method method) |
void |
setWebServiceTie(Object tie)
Used by JAX-RPC pre/postHandler classes
|
javax.ejb.EJBContext getEJBContext()
EJBContext
of this invocationObject getMessage()
<T> void setMessage(T message)
message
- an unconsumed messageboolean isAWebService()
Method getMethod()
Object[] getMethodParams()
Object getJaccEjb()
boolean authorizeWebService(Method method) throws Exception
method
- method to be invokedException
boolean isCallerInRole(String role)
void setWebServiceTie(Object tie)
tie
- an instance of com.sun.xml.rpc.spi.runtime.Tievoid setMessageContext(javax.xml.rpc.handler.MessageContext context)
Object getWebServiceTie()
void setWebServiceMethod(Method method)
method
- - web service endpoint methodvoid setWebServiceContext(Object webServiceContext)
webServiceContext
- JAX-WS web service context used for the invocationCopyright © 2021. All rights reserved.