|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.remoting.jaxrpc.ServletEndpointSupport
com.jaspersoft.jasperserver.ws.axis2.ManagementService
public class ManagementService
Field Summary | |
---|---|
protected static java.lang.String |
BEAN_NAME_ENGINE_SERVICE
|
protected static java.lang.String |
BEAN_NAME_HANDLER_REGISTRY
|
protected static java.lang.String |
BEAN_NAME_REPOSITORY_SERVICE
|
protected static java.lang.String |
BEAN_NAME_RUN_REPORT_ENGINE_SERVICE
|
protected static java.lang.String |
END_TOKEN
|
protected static org.apache.commons.logging.Log |
log
|
protected static java.lang.String |
REPORT_UNIT
|
protected static java.lang.String |
START_TOKEN
|
protected static java.lang.String |
WS_VERSION
|
Fields inherited from class org.springframework.remoting.jaxrpc.ServletEndpointSupport |
---|
logger |
Constructor Summary | |
---|---|
ManagementService()
|
Method Summary | |
---|---|
protected ExecutionContext |
createExecutionContext()
|
ResourceDescriptor |
createResourceDescriptor(Resource resource)
the same as createResourceDescriptor( resource, false) |
ResourceDescriptor |
createResourceDescriptor(Resource resource,
java.util.Map specialOptions)
Create a ResourceDescriptor from a Resource. |
ResourceDescriptor |
createResourceDescriptor(java.lang.String uri)
This method uses the repo.getResource(null, uri) to get a reference to the resource, and then uses createResourceDescriptor to return the descriptor. |
protected ResourceDescriptor |
createResourceDescriptor(java.lang.String uri,
java.util.Map specialOptions)
This method uses the repo.getResource(null, uri) to get a reference to the resource, and then uses createResourceDescriptor to return the descriptor. |
java.lang.String |
delete(java.lang.String requestXmlString)
This method delete a resource identified by an URI. |
java.lang.String |
get(java.lang.String requestXmlString)
This method get a resource identified by an URI. |
protected java.lang.String |
getArgumentValue(java.lang.String argumentName,
java.util.List arguments)
|
java.lang.String |
getContentType(java.lang.String type)
|
EngineService |
getEngine()
|
net.sf.jasperreports.engine.JRExporter |
getExporter(java.lang.String type,
java.util.Map exportParameters)
|
ResourceHandlerRegistry |
getHandlerRegistry()
|
java.util.Locale |
getLocale()
|
java.lang.String |
getMessage(java.lang.String messageCode,
java.lang.Object[] args)
|
org.apache.axis.attachments.AttachmentPart[] |
getMessageAttachments()
Function to get attachments from an Axis message |
protected org.springframework.context.MessageSource |
getMessageSource()
|
RepositoryService |
getRepository()
|
RepositoryHelper |
getRepositoryHelper()
|
java.lang.String |
list(java.lang.String requestXmlString)
|
java.util.List |
listResources(java.lang.String uri)
Return a list of ResourceDescriptor(s) |
protected EngineService |
loadEngineService()
|
protected ResourceHandlerRegistry |
loadHandlerRegistry()
|
protected RepositoryService |
loadRepository()
|
protected RepositoryHelper |
loadRepositoryHelper()
|
protected EngineService |
loadRunReportEngineService()
|
protected Resource |
locateResource(java.lang.String uri)
|
protected ServiceRequest |
makeServiceRequest(Request request,
OperationResult operationResult)
|
protected static java.lang.String |
marshalResponse(OperationResult or,
ResultAttachments attachments)
|
protected void |
onInit()
|
protected java.util.Map |
processDescriptorOptions(java.util.Map specialOptions)
|
java.lang.String |
put(java.lang.String requestXmlString)
This method put a resource identified by an URI. |
java.lang.String |
runReport(java.lang.String requestXmlString)
This method run a report. |
void |
setLocale(java.util.Locale locale)
|
Methods inherited from class org.springframework.remoting.jaxrpc.ServletEndpointSupport |
---|
destroy, getApplicationContext, getMessageSourceAccessor, getServletContext, getServletEndpointContext, getTempDir, getWebApplicationContext, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.commons.logging.Log log
protected static final java.lang.String START_TOKEN
protected static final java.lang.String END_TOKEN
protected static final java.lang.String REPORT_UNIT
protected static final java.lang.String WS_VERSION
protected static final java.lang.String BEAN_NAME_REPOSITORY_SERVICE
protected static final java.lang.String BEAN_NAME_ENGINE_SERVICE
protected static final java.lang.String BEAN_NAME_RUN_REPORT_ENGINE_SERVICE
protected static final java.lang.String BEAN_NAME_HANDLER_REGISTRY
Constructor Detail |
---|
public ManagementService()
Method Detail |
---|
protected void onInit()
onInit
in class org.springframework.remoting.jaxrpc.ServletEndpointSupport
protected RepositoryService loadRepository()
protected EngineService loadEngineService()
protected EngineService loadRunReportEngineService()
protected RepositoryHelper loadRepositoryHelper()
protected ResourceHandlerRegistry loadHandlerRegistry()
protected static java.lang.String marshalResponse(OperationResult or, ResultAttachments attachments)
public java.lang.String list(java.lang.String requestXmlString)
public java.util.List listResources(java.lang.String uri) throws WSException
WSException
public java.lang.String get(java.lang.String requestXmlString)
public ResourceDescriptor createResourceDescriptor(java.lang.String uri) throws WSException
createResourceDescriptor
in interface RepositoryServiceContext
WSException
protected ResourceDescriptor createResourceDescriptor(java.lang.String uri, java.util.Map specialOptions) throws WSException
WSException
protected java.util.Map processDescriptorOptions(java.util.Map specialOptions)
protected Resource locateResource(java.lang.String uri) throws WSException
WSException
public ResourceDescriptor createResourceDescriptor(Resource resource) throws WSException
createResourceDescriptor
in interface RepositoryServiceContext
WSException
public ResourceDescriptor createResourceDescriptor(Resource resource, java.util.Map specialOptions) throws WSException
createResourceDescriptor
in interface RepositoryServiceContext
WSException
public java.lang.String put(java.lang.String requestXmlString)
protected ServiceRequest makeServiceRequest(Request request, OperationResult operationResult)
protected java.lang.String getArgumentValue(java.lang.String argumentName, java.util.List arguments)
public java.lang.String delete(java.lang.String requestXmlString)
public java.lang.String runReport(java.lang.String requestXmlString)
protected ExecutionContext createExecutionContext()
public net.sf.jasperreports.engine.JRExporter getExporter(java.lang.String type, java.util.Map exportParameters)
public java.lang.String getContentType(java.lang.String type)
public org.apache.axis.attachments.AttachmentPart[] getMessageAttachments()
getMessageAttachments
in interface RepositoryServiceContext
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
protected org.springframework.context.MessageSource getMessageSource()
public java.lang.String getMessage(java.lang.String messageCode, java.lang.Object[] args)
getMessage
in interface RepositoryServiceContext
public RepositoryService getRepository()
getRepository
in interface RepositoryServiceContext
public EngineService getEngine()
getEngine
in interface RepositoryServiceContext
public ResourceHandlerRegistry getHandlerRegistry()
getHandlerRegistry
in interface RepositoryServiceContext
public RepositoryHelper getRepositoryHelper()
getRepositoryHelper
in interface RepositoryServiceContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |