org.apache.openejb.core.singleton
Class EjbWsContext

java.lang.Object
  extended by org.apache.openejb.core.singleton.EjbWsContext
All Implemented Interfaces:
WebServiceContext

public class EjbWsContext
extends Object
implements WebServiceContext


Constructor Summary
EjbWsContext(javax.ejb.SessionContext context)
           
 
Method Summary
<T extends EndpointReference>
T
getEndpointReference(Class<T> clazz, Element... referenceParameters)
           
 EndpointReference getEndpointReference(Element... referenceParameters)
           
 MessageContext getMessageContext()
           
 Principal getUserPrincipal()
           
 boolean isUserInRole(String roleName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbWsContext

public EjbWsContext(javax.ejb.SessionContext context)
Method Detail

getMessageContext

public MessageContext getMessageContext()
Specified by:
getMessageContext in interface WebServiceContext

getUserPrincipal

public Principal getUserPrincipal()
Specified by:
getUserPrincipal in interface WebServiceContext

isUserInRole

public boolean isUserInRole(String roleName)
Specified by:
isUserInRole in interface WebServiceContext

getEndpointReference

public EndpointReference getEndpointReference(Element... referenceParameters)
Specified by:
getEndpointReference in interface WebServiceContext

getEndpointReference

public <T extends EndpointReference> T getEndpointReference(Class<T> clazz,
                                                            Element... referenceParameters)
Specified by:
getEndpointReference in interface WebServiceContext


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.