Entering content frame

Procedure documentation Configuring the Server Side

Procedure

...

       1.      Create an interface on the server side that extends the com.sap.engine.frame.state.ManagementInterface. In this interface, list all methods available for the client side.

       2.      In the service start(…) method, register an object that implements the above interface using the registerManagementInterface(ManagementInterface mi) method from com.sap.engine.frame.state.ServiceState. You can get access to the ServiceState from the ServiceContext that is passed to your ServiceFrame in the start(…) method.

       3.      The registration of the ManagementInterface must look like this:

Example

serviceContext.getServiceState().

registerManagementInterface(managementInterface);

 

       4.      When the service is stopped, do not forget to unregister the ManagementInterface implementation (in the service stop(…) method):

Example

serviceContext.unregisterManagementInterface();

 

Only one ManagementInterface is allowed per service. Therefore, you do not need to supply an argument when you call the unregister method.

 

 

Leaving content frame