|
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 ServiceObjectTypeMapper object_getTypeMappingRegistry()public void _setTypeMapper(TypeMapper typeMapper)
_setTypeMappingRegistry
instead
_setTypeMapper in interface ServiceObjecttypeMapper - a TypeMapper object with type mappings
to be used by this servlet skeleton_setTypeMappingRegistry(TypeMappingRegistry)public TypeMappingRegistry _getTypeMappingRegistry()
_getTypeMappingRegistry in interface ServiceObjectTypeMappingRegistry objectpublic void _setTypeMappingRegistry(TypeMappingRegistry typeMapper)
_setTypeMappingRegistry in interface ServiceObjecttypeMapper - a TypeMappingRegistry object with type
mappings to be used by this servlet skeletonpublic Stub _getStub()
Stub object for self
public Reference getReference()
throws NamingException
getReference in interface ReferenceableNamingExceptionpublic QName _getPortType()
_getPortType in interface ServiceObjectQName for the port that defined this skeletonpublic Binding[] _getBindings()
_getBindings in interface ServiceObjectBinding objects
public Binding _getCurrentBinding()
throws ServiceException
_getCurrentBinding in interface ServiceObjectBinding object
ServiceException - if serlvet is not activated yet
public void _setCurrentBinding(Binding binding)
throws MalformedURLException
_setCurrentBinding in interface ServiceObjectbinding - 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 ServiceObjectpropName - the property name
public String _setProperty(String propName,
String propValue)
_setProperty in interface ServiceObjectpropName - 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 ServletServletException
public void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
ServletException
IOException
public void doPost(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
ServletException
IOExceptionpublic boolean isDocument(String action)
isDocument in interface InvokeHandleraction - the SOAP action
public void _setHandlerChain(List handlerChain)
_setHandlerChain in interface SkeletonhandlerChain - a standard handler chainpublic List _getHandlerChain()
public ServerResponse _invoke(Properties httpHeaders,
InputStream is)
throws IOException
_invoke in interface InvokeHandlerhttpHeaders - transport header iformationis - input stream to read
IOException - if an I/O exception occurred during invokepublic void _setClassInfo(ClassInfo info)
_setClassInfo in interface ServiceObjectinfo - the class infopublic ClassInfo _getClassInfo()
ServiceObject
_getClassInfo in interface ServiceObjectpublic QName _getOperationName()
ServiceObject
_getOperationName in interface ServiceObjectpublic void _setHandlerChain(HandlerChain chain)
ServiceObject
_setHandlerChain in interface ServiceObjectchain - the HandlerChain.
|
Novell exteNd Web Services SDK API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||