org.jboss.wsf.spi.invocation.integration
Interface ServiceEndpointContainer


public interface ServiceEndpointContainer

Host's web service implementation and allows invocations on them.

Author:
Heiko.Braun

Method Summary
 java.lang.String getContainerName()
          Identifies a service endpoint container
 java.lang.Class getServiceImplementationClass()
          The actual web service implementation hosted by this container.
 java.lang.Object invokeEndpoint(java.lang.reflect.Method method, java.lang.Object[] args, InvocationContextCallback callback)
          Invokes a particular endpoint opertation.
 

Method Detail

getContainerName

java.lang.String getContainerName()
Identifies a service endpoint container

Returns:

getServiceImplementationClass

java.lang.Class getServiceImplementationClass()
The actual web service implementation hosted by this container.

Returns:

invokeEndpoint

java.lang.Object invokeEndpoint(java.lang.reflect.Method method,
                                java.lang.Object[] args,
                                InvocationContextCallback callback)
                                throws java.lang.Throwable
Invokes a particular endpoint opertation.

Parameters:
method - business method
args - parameters
callback - gives access to invocation context properties. I.e. for injecting the WebServiceContext
Returns:
null for operations without return parameter
Throws:
java.lang.Exception
java.lang.Throwable


Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.