|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.remote.server.AbstractProtocolServletFactory
public abstract class AbstractProtocolServletFactory
Abstract factory for creating @WebService and @Remote servlets.
| Constructor Summary | |
|---|---|
AbstractProtocolServletFactory()
|
|
| Method Summary | |
|---|---|
abstract Servlet |
createServlet(java.lang.Class<?> serviceApi,
java.lang.Object service)
Creates a new servlet skeleton based on an API and an object |
protected java.lang.Class<?> |
getRemoteAPI(java.lang.Class<?> serviceClass)
Returns the remote interface to expose as a service. |
void |
setAnnotated(Annotated annotated)
Sets the ServiceType annotated |
void |
setServiceType(java.lang.annotation.Annotation ann)
Sets the ServiceType annotation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractProtocolServletFactory()
| Method Detail |
|---|
public void setServiceType(java.lang.annotation.Annotation ann)
setServiceType in interface ProtocolServletFactorypublic void setAnnotated(Annotated annotated)
setAnnotated in interface ProtocolServletFactory
public abstract Servlet createServlet(java.lang.Class<?> serviceApi,
java.lang.Object service)
throws ServiceException
createServlet in interface ProtocolServletFactoryserviceApi - the remoteApi exposed to the serverservice - the managed service object
ServiceExceptionprotected java.lang.Class<?> getRemoteAPI(java.lang.Class<?> serviceClass)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||