public interface ProtocolServletFactory
| Modifier and Type | Method and Description |
|---|---|
Servlet |
createServlet(java.lang.Class<?> serviceClass,
java.lang.Object service)
Creates a new servlet skeleton based on an API and an object
|
void |
setAnnotated(Annotated annotated)
Sets the ServiceType annotated
|
void |
setServiceType(java.lang.annotation.Annotation ann)
Sets the ServiceType annotation
|
void setServiceType(java.lang.annotation.Annotation ann)
void setAnnotated(Annotated annotated)
Servlet createServlet(java.lang.Class<?> serviceClass, java.lang.Object service) throws ServiceException
serviceClass - the remoteApi exposed to the serverservice - the managed service objectServiceException