| Issue 149: | Allow SMSServer to load external classes | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
Hi, currently when SMSServer loads classes with Class.forName() (gateways,
interfaces and others) it prepends "org.smslib.package." to the class name.
Would you consider adding the possibility for using a fully qualified
name? E.g. "org.my.smslib.smsserver.gateways.MyNewGateway".
SMSSvr.conf:
gateway.0=externalGateway, org.my.smslib.smsserver.gateways.MyNewGateway
SMSServer.java:
if(gtwClass.lastIndexOf(".") > -1) {
c = Class.forName(gtwClass);
}
else {
c = Class.forName("org.smslib.smsserver.gateways." + gtwClass);
}
|
||||||||||||||
,
Nov 24, 2008
(No comment was entered for this change.)
Owner: T.Delenikas
|
|||||||||||||||
,
Nov 24, 2008
Thanks.
Status: Accepted
Labels: Priority-Medium Milestone-v3.3.2 Milestone-v3.4.0 |
|||||||||||||||
,
Nov 24, 2008
(No comment was entered for this change.)
Labels: Component-SMSServer
|
|||||||||||||||
,
Nov 24, 2008
Trunk, r1563.
Status: Started
|
|||||||||||||||
,
Nov 24, 2008
Branch v3.4.0, r1564.
Status: Completed
|
|||||||||||||||
,
Dec 13, 2008
(No comment was entered for this change.)
Status: Fixed
|
|||||||||||||||
|
|
|||||||||||||||