org.drools.guvnor.server
Class StandaloneEditorServiceImplementation

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
              extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
                  extended by org.drools.guvnor.server.StandaloneEditorServiceImplementation
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, StandaloneEditorService

public class StandaloneEditorServiceImplementation
extends com.google.gwt.user.server.rpc.RemoteServiceServlet
implements StandaloneEditorService

All the needed Services in order to get Guvnor's Editors running as standalone app.

See Also:
Serialized Form

Field Summary
 RulesRepository repository
           
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
StandaloneEditorServiceImplementation()
           
 
Method Summary
 String[] getAsstesBRL(Asset[] assets)
          Returns the BRL source code of the given assets.
 String[] getAsstesDRL(Asset[] assets)
          Returns the DRL source code of the given assets.
 StandaloneEditorInvocationParameters getInvocationParameters(String parametersUUID)
           
 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
 
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

repository

@Inject
public RulesRepository repository
Constructor Detail

StandaloneEditorServiceImplementation

public StandaloneEditorServiceImplementation()
Method Detail

getInvocationParameters

public StandaloneEditorInvocationParameters getInvocationParameters(String parametersUUID)
                                                             throws DetailedSerializationException
Specified by:
getInvocationParameters in interface StandaloneEditorService
Throws:
DetailedSerializationException

getAsstesDRL

public String[] getAsstesDRL(Asset[] assets)
                      throws com.google.gwt.user.client.rpc.SerializationException
Returns the DRL source code of the given assets.

Specified by:
getAsstesDRL in interface StandaloneEditorService
Parameters:
assets -
Returns:
Throws:
com.google.gwt.user.client.rpc.SerializationException

getAsstesBRL

public String[] getAsstesBRL(Asset[] assets)
                      throws com.google.gwt.user.client.rpc.SerializationException
Returns the BRL source code of the given assets.

Specified by:
getAsstesBRL in interface StandaloneEditorService
Parameters:
assets -
Returns:
Throws:
com.google.gwt.user.client.rpc.SerializationException


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.