|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.sssw.jbroker.web.portable.ServletSkeleton
Servlet skeleton is the base class of all Service Servlets.
Nested Class Summary | |
static interface |
ServletSkeleton.ServletDelegate
The base class delegates the HTTP methods to this Interface. |
Field Summary |
Fields inherited from interface com.sssw.jbroker.web.portable.Skeleton |
TEST_DISABLE |
Method Summary | |
Binding[] |
_getBindings()
Get the bindings set on this skeleton |
ClassInfo |
_getClassInfo()
Get dispatch information for this service object |
Binding |
_getCurrentBinding()
Get the binding currently used by this skeleton |
List |
_getHandlerChain()
Get the handler chain set on this servlet skeleton |
QName |
_getOperationName()
Get the operations's QName |
QName |
_getPortType()
Get the port's QName |
Object |
_getProperty(String propName)
Get a property |
Stub |
_getStub()
Get servlet as stub |
TypeMapper |
_getTypeMapper()
Deprecated. As of jBroker Web 2.0, use _getTypeMappingRegistry
instead |
TypeMappingRegistry |
_getTypeMappingRegistry()
Get the type mapping registry set on this serlvet skeleton |
ServerResponse |
_invoke(Properties httpHeaders,
InputStream is)
Implementation of InvokeHandler.invoke(Properties httpHeaders, InputStream is) |
void |
_setClassInfo(ClassInfo info)
Set dispatch information for this service object |
void |
_setCurrentBinding(Binding binding)
Set the binding on this skeleton |
void |
_setHandlerChain(HandlerChain chain)
Set the HandlerChain for the Stub |
void |
_setHandlerChain(List handlerChain)
Set the handler chain on this servlet skeleton. |
Object |
_setProperty(String propName,
Object propValue)
Set a property |
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 |
void |
doGet(HttpServletRequest req,
HttpServletResponse res)
The HTTP servlet doGet method is delegated to the delegate. |
void |
doPost(HttpServletRequest req,
HttpServletResponse res)
The HTTP servlet doPost method is delegated to the delegate. |
Reference |
getReference()
|
void |
init()
The HTTP servlet init method is delegated to the delegate. |
void |
init(ServletConfig config)
The HTTP servlet init method. |
boolean |
isDocument(String action)
Determine if a method with specified SOAP action is document style |
Methods inherited from class javax.servlet.http.HttpServlet |
service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sssw.jbroker.web.portable.InvokeHandler |
_invoke |
Method Detail |
public TypeMapper _getTypeMapper()
_getTypeMappingRegistry
instead
_getTypeMapper
in interface ServiceObject
TypeMapper
object_getTypeMappingRegistry()
public void _setTypeMapper(TypeMapper typeMapper)
_setTypeMappingRegistry
instead
_setTypeMapper
in interface ServiceObject
typeMapper
- a TypeMapper
object with type mappings
to be used by this servlet skeleton_setTypeMappingRegistry(TypeMappingRegistry)
public TypeMappingRegistry _getTypeMappingRegistry()
_getTypeMappingRegistry
in interface ServiceObject
TypeMappingRegistry
objectpublic void _setTypeMappingRegistry(TypeMappingRegistry typeMapper)
_setTypeMappingRegistry
in interface ServiceObject
typeMapper
- a TypeMappingRegistry
object with type
mappings to be used by this servlet skeletonpublic Stub _getStub()
Stub
object for selfpublic Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
public QName _getPortType()
_getPortType
in interface ServiceObject
QName
for the port that defined this skeletonpublic Binding[] _getBindings()
_getBindings
in interface ServiceObject
Binding
objectspublic Binding _getCurrentBinding() throws ServiceException
_getCurrentBinding
in interface ServiceObject
Binding
object
ServiceException
- if serlvet is not activated yetpublic void _setCurrentBinding(Binding binding) throws MalformedURLException
_setCurrentBinding
in interface ServiceObject
binding
- a Binding
object
MalformedURLException
- always raises this exception since
the binding can not be changed on a skeletonpublic Object _getProperty(String propName)
_getProperty
in interface ServiceObject
propName
- the property name
public String _setProperty(String propName, String propValue)
_setProperty
in interface ServiceObject
propName
- the property namepropValue
- the property value
public Object _setProperty(String propName, Object propValue)
propName
- the property namepropValue
- the property value
public void init() throws ServletException
ServletException
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
ServletException
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
ServletException
IOException
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
ServletException
IOException
public boolean isDocument(String action)
isDocument
in interface InvokeHandler
action
- the SOAP action
public void _setHandlerChain(List handlerChain)
_setHandlerChain
in interface Skeleton
handlerChain
- a standard handler chainpublic List _getHandlerChain()
public ServerResponse _invoke(Properties httpHeaders, InputStream is) throws IOException
_invoke
in interface InvokeHandler
httpHeaders
- transport header iformationis
- input stream to read
IOException
- if an I/O exception occurred during invokepublic void _setClassInfo(ClassInfo info)
_setClassInfo
in interface ServiceObject
info
- the class infopublic ClassInfo _getClassInfo()
ServiceObject
_getClassInfo
in interface ServiceObject
public QName _getOperationName()
ServiceObject
_getOperationName
in interface ServiceObject
public void _setHandlerChain(HandlerChain chain)
ServiceObject
_setHandlerChain
in interface ServiceObject
chain
- the HandlerChain.
|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |