org.codehaus.ivory
Interface AxisService

All Known Implementing Classes:
DefaultAxisService

public interface AxisService

A service exposing Axis.

Since:
Mar 8, 2003
Author:
Dan Diephouse

Field Summary
static java.lang.String ROLE
           
static java.lang.String SERVICE_MANAGER_KEY
          Key to retrieve the ServiceManager from the MessageContext
 
Method Summary
 void exposeClass(java.lang.String serviceName, java.lang.String className)
          Exposes a class as a SOAP service.
 void exposeClass(java.lang.String serviceName, java.lang.String[] methodNames, java.lang.String className)
          Exposes a class as a SOAP service.
 void exposeService(java.lang.String serviceName, java.lang.String role)
          Exposes an Avalon component as a SOAP service.
 void exposeService(java.lang.String serviceName, java.lang.String[] methodNames, java.lang.String role)
          Exposes an Avalon component as a SOAP service.
 org.apache.axis.server.AxisServer getAxisServer()
          Get the AxisServer.
 

Field Detail

ROLE

public static final java.lang.String ROLE

SERVICE_MANAGER_KEY

public static final java.lang.String SERVICE_MANAGER_KEY
Key to retrieve the ServiceManager from the MessageContext

See Also:
Constant Field Values
Method Detail

getAxisServer

public org.apache.axis.server.AxisServer getAxisServer()
Get the AxisServer.

Returns:
AxisServer

exposeClass

public void exposeClass(java.lang.String serviceName,
                        java.lang.String className)
                 throws org.apache.axis.AxisFault,
                        java.lang.ClassNotFoundException
Exposes a class as a SOAP service. All methods are available to be executed.

Throws:
org.apache.axis.AxisFault
java.lang.ClassNotFoundException

exposeClass

public void exposeClass(java.lang.String serviceName,
                        java.lang.String[] methodNames,
                        java.lang.String className)
                 throws org.apache.axis.AxisFault,
                        java.lang.ClassNotFoundException
Exposes a class as a SOAP service. Only the methods specified are exposed. If methodNames is null, then all methods are exposed.

Throws:
org.apache.axis.AxisFault
java.lang.ClassNotFoundException

exposeService

public void exposeService(java.lang.String serviceName,
                          java.lang.String role)
                   throws org.apache.axis.AxisFault,
                          java.lang.ClassNotFoundException
Exposes an Avalon component as a SOAP service. All methods are available to be executed.

Throws:
org.apache.axis.AxisFault
java.lang.ClassNotFoundException

exposeService

public void exposeService(java.lang.String serviceName,
                          java.lang.String[] methodNames,
                          java.lang.String role)
                   throws org.apache.axis.AxisFault,
                          java.lang.ClassNotFoundException
Exposes an Avalon component as a SOAP service. Only the methods specified are exposed. If methodNames is null, then all methods are exposed.

Throws:
org.apache.axis.AxisFault
java.lang.ClassNotFoundException


Copyright © -2004 Codehaus. All Rights Reserved.