org.codehaus.enunciate.modules.amf
Class AMFEndpointImpl
java.lang.Object
org.codehaus.enunciate.modules.amf.AMFEndpointImpl
public abstract class AMFEndpointImpl
- extends java.lang.Object
Base class for an AMF endpoint.
- Author:
- Ryan Heaton
|
Constructor Summary |
protected |
AMFEndpointImpl(java.lang.Object serviceBean)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceBean
protected java.lang.Object serviceBean
AMFEndpointImpl
protected AMFEndpointImpl(java.lang.Object serviceBean)
invokeOperation
protected final java.lang.Object invokeOperation(java.lang.String operationName,
java.lang.Object... params)
throws java.lang.Exception
- Invoke an operation on the underlying service bean. This will transform each of its AMF object parameters to JAXB object parameters and then invoke the
JAX-WS service bean. The result will be transformed into an AMF object before being returned.
- Parameters:
operationName - The operation name.params - The (AMF) parameters.
- Returns:
- The (AMF) result of the invocation.
- Throws:
java.lang.Exception
setSecurityChecker
public void setSecurityChecker(SecurityExceptionChecker securityChecker)
- Set the security checker for this endpoint.
- Parameters:
securityChecker - The security checker.
getServiceInterface
protected abstract java.lang.Class getServiceInterface()
- The service interface.
- Returns:
- The service interface.