Difference between revisions of "Custom SMS MMS Implementation"

(Created page with " == Prerequisites == The bundles open-xchange-messaging-sms and open-xchange-messaging-sms-gui should be installed")
 
(Prerequisites)
Line 3: Line 3:
  
 
The bundles open-xchange-messaging-sms and open-xchange-messaging-sms-gui should be installed
 
The bundles open-xchange-messaging-sms and open-xchange-messaging-sms-gui should be installed
 +
 +
== Implementation ==
 +
 +
The basic implementation must be done by a class implementing the interface <code>com.openexchange.messaging.sms.service.MessagingNewService</code>. This implementing class must be annouced to OSGi as a service implementation for this class. This can be done be the following:
 +
 +
context.registerService(MessagingNewService.class.getName(), new OwnImpl(), null);
 +
 +
In this example the new class <code>OwnImpl</code> must be written.

Revision as of 15:53, 24 January 2012

Prerequisites

The bundles open-xchange-messaging-sms and open-xchange-messaging-sms-gui should be installed

Implementation

The basic implementation must be done by a class implementing the interface com.openexchange.messaging.sms.service.MessagingNewService. This implementing class must be annouced to OSGi as a service implementation for this class. This can be done be the following:

context.registerService(MessagingNewService.class.getName(), new OwnImpl(), null);

In this example the new class OwnImpl must be written.