My favorites | Sign in
Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 149: Allow SMSServer to load external classes
1 person starred this issue and may be notified of changes. Back to list
 
Reported by thomas.aanes, Nov 24, 2008
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);
}
Comment 1 by T.Delenikas, Nov 24, 2008
(No comment was entered for this change.)
Owner: T.Delenikas
Comment 2 by T.Delenikas, Nov 24, 2008
Thanks.
Status: Accepted
Labels: Priority-Medium Milestone-v3.3.2 Milestone-v3.4.0
Comment 3 by T.Delenikas, Nov 24, 2008
(No comment was entered for this change.)
Labels: Component-SMSServer
Comment 4 by T.Delenikas, Nov 24, 2008
Trunk, r1563.

Status: Started
Comment 5 by T.Delenikas, Nov 24, 2008
Branch v3.4.0, r1564.
Status: Completed
Comment 6 by T.Delenikas, Dec 13, 2008
(No comment was entered for this change.)
Status: Fixed
Sign in to add a comment

Hosted by Google Code