org.codehaus.xfire.service.object
Interface ObjectService

All Superinterfaces:
Service
All Known Implementing Classes:
DefaultObjectService

public interface ObjectService
extends Service

A service which can map to an underlying Methods and Classes. Although, it doesn't necessarily need to map to one single object.

Since:
Feb 18, 2004
Author:
Dan Diephouse

Field Summary
static java.lang.String ALLOWED_METHODS
           
static int SCOPE_APPLICATION
           
static int SCOPE_REQUEST
           
static int SCOPE_SESSION
           
static java.lang.String SERVICE_IMPL_CLASS
           
 
Fields inherited from interface org.codehaus.xfire.service.Service
ROLE
 
Method Summary
 Invoker getInvoker()
           
 Operation getOperation(java.lang.String name)
          Get an operation.
 java.util.Collection getOperations()
          Get all the operations for this service.
 int getScope()
           
 java.lang.Class getServiceClass()
          The class which the operations map to.
 TypeMapping getTypeMapping()
          The TypeMapping for this service.
 void setInvoker(Invoker invoker)
           
 
Methods inherited from interface org.codehaus.xfire.service.Service
getDefaultNamespace, getFaultHandler, getFaultPipeline, getName, getProperty, getRequestPipeline, getResponsePipeline, getServiceHandler, getSoapVersion, getStyle, getUse, getWSDLWriter, setProperty
 

Field Detail

SCOPE_APPLICATION

static final int SCOPE_APPLICATION
See Also:
Constant Field Values

SCOPE_SESSION

static final int SCOPE_SESSION
See Also:
Constant Field Values

SCOPE_REQUEST

static final int SCOPE_REQUEST
See Also:
Constant Field Values

ALLOWED_METHODS

static final java.lang.String ALLOWED_METHODS
See Also:
Constant Field Values

SERVICE_IMPL_CLASS

static final java.lang.String SERVICE_IMPL_CLASS
See Also:
Constant Field Values
Method Detail

getTypeMapping

TypeMapping getTypeMapping()
The TypeMapping for this service.

Returns:

getOperation

Operation getOperation(java.lang.String name)
Get an operation.

Parameters:
name - The name of the operation.
Returns:

getOperations

java.util.Collection getOperations()
Get all the operations for this service.

Returns:

getServiceClass

java.lang.Class getServiceClass()
The class which the operations map to.

Returns:

getInvoker

Invoker getInvoker()

setInvoker

void setInvoker(Invoker invoker)

getScope

int getScope()