Novell exteNd Web Services SDK API

com.sssw.jbroker.web
Interface ServiceObject

All Superinterfaces:
Referenceable, Serializable
All Known Subinterfaces:
Skeleton, TieSkeleton
All Known Implementing Classes:
MDBSkeleton, ServletSkeleton, Stub

public interface ServiceObject
extends Serializable, Referenceable

Service Object is the base class for all Service Stubs/Skeletons.


Method Summary
 Binding[] _getBindings()
          Get the port's QName
 ClassInfo _getClassInfo()
          Get dispatch information for this service object
 Binding _getCurrentBinding()
          Get the current Binding for the Service.
 QName _getOperationName()
          Get the operations's QName
 QName _getPortType()
          Get the port's QName
 Object _getProperty(String propName)
          Get a property
 TypeMapper _getTypeMapper()
          Deprecated. as of jBroker Web 2.0, use _getTypeMappingRegistry instead
 TypeMappingRegistry _getTypeMappingRegistry()
          Get the type mapping registry set on this serlvet skeleton
 void _setClassInfo(ClassInfo info)
          Set dispatch information for this service object
 void _setCurrentBinding(Binding binding)
          Set the current binding for the Service.
 void _setHandlerChain(HandlerChain chain)
          Set the HandlerChain for the Stub
 String _setProperty(String propName, String propValue)
          Set a property
 void _setTypeMapper(TypeMapper typeMapper)
          Deprecated. as of jBroker Web 2.0, use _setTypeMappingRegistry instead
 void _setTypeMappingRegistry(TypeMappingRegistry typeMapper)
          Set the type mapping registry on this serlvet skeleton
 
Methods inherited from interface javax.naming.Referenceable
getReference
 

Method Detail

_getPortType

public QName _getPortType()
Get the port's QName

Returns:
a QName for the port that defined this skeleton

_getBindings

public Binding[] _getBindings()
Get the port's QName

Returns:
a QName for the port that defined this skeleton

_getCurrentBinding

public Binding _getCurrentBinding()
                           throws ServiceException
Get the current Binding for the Service. If the ServiceObject represents a Stub, then this represts the target for the invocations. If the ServiceObject represents a Skeleton, then it represents the binding at which the Service instance is active.

Throws:
ServiceException

_setCurrentBinding

public void _setCurrentBinding(Binding binding)
                        throws MalformedURLException
Set the current binding for the Service. This could be one of the bindings returned by the _getBindings method, or any other user specified binding. If the URL string specified in the binding is not well formed or not understood by the runtime, the MalformedURLException exception is thrown.

Throws:
MalformedURLException

_setProperty

public String _setProperty(String propName,
                           String propValue)
Set a property

Parameters:
propName - the property name
propValue - the property value
Returns:
previous property value (if any)

_getProperty

public Object _getProperty(String propName)
Get a property

Parameters:
propName - the property name
Returns:
the property value

_getTypeMapper

public TypeMapper _getTypeMapper()
Deprecated. as of jBroker Web 2.0, use _getTypeMappingRegistry instead

Get the type mapper set on this serlvet skeleton

Returns:
a TypeMapper object
See Also:
_getTypeMappingRegistry()

_getTypeMappingRegistry

public TypeMappingRegistry _getTypeMappingRegistry()
Get the type mapping registry set on this serlvet skeleton

Returns:
a TypeMappingRegistry object
Since:
jBroker Web 2.0

_setTypeMapper

public void _setTypeMapper(TypeMapper typeMapper)
Deprecated. as of jBroker Web 2.0, use _setTypeMappingRegistry instead

Set the type mapper on this serlvet skeleton

Parameters:
typeMapper - a TypeMapper object with type mappings to be used by this servlet skeleton
See Also:
_setTypeMappingRegistry(TypeMappingRegistry)

_setTypeMappingRegistry

public void _setTypeMappingRegistry(TypeMappingRegistry typeMapper)
Set the type mapping registry on this serlvet skeleton

Parameters:
typeMapper - a TypeMappingRegistry object with type mappings to be used by this servlet skeleton
Since:
jBroker Web 2.0

_setClassInfo

public void _setClassInfo(ClassInfo info)
Set dispatch information for this service object

Parameters:
info - the class info
Since:
jBroker Web 2.0

_getClassInfo

public ClassInfo _getClassInfo()
Get dispatch information for this service object

Returns:
the class info
Since:
jBroker Web 2.0

_getOperationName

public QName _getOperationName()
Get the operations's QName

Returns:
a QName for the operation
Since:
jBroker Web 2.0

_setHandlerChain

public void _setHandlerChain(HandlerChain chain)
Set the HandlerChain for the Stub

Parameters:
chain - the HandlerChain.
Since:
jBroker Web 2.1

Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.