To provide this functionality, I would prefer to have the invoker implementations provide the flag needed to determine if is secured by ssl so that if another transport is added, this can be determined during runtime. Then maybe have another method within InvokerRegistry that can also do the up front check as well.
Added ability to check with InvokerRegistry to see if transport type supports ssl. However, this is at best just a hint as to if really does or does not support ssl.
See http://jira.jboss.com/jira/browse/JBREM-492 for more details.