Right Java tools for J2EE, Web Service, Grid and more
|Home | Products | Documents | Downloads | Purchase | Support | Company | Partners | Contact |

com.acelet.s
Interface ConnectionPlugin


public interface ConnectionPlugin

The ConnectionPlugin interface allows you to set extra things for your connection. The majority of users do not need this interface.

You need this interface if you have added something on top of your server or you have modified your server. For example, if you implement your own SSL on top of your server, you can set necessary things using this interface to match your server's setting.

Super will call this interface before connecting to the server.

You must add an entry in super.properties under the working directory, which is the installed directory for Super (default is AceletSuper). The property name is (case sensitive): connectionPlugin. Example:

connectionPlugin=com.xyz.abc.MyOwnSslImplementation

You must put your implementation class on CLASSPATH.


Method Summary
 void setExtraForConnection(java.lang.String providerUrl, java.lang.String loginName, java.lang.String password)
          Set extra things for connection.
 

Method Detail

setExtraForConnection

public void setExtraForConnection(java.lang.String providerUrl,
                                  java.lang.String loginName,
                                  java.lang.String password)
                           throws java.lang.Exception
Set extra things for connection.

All the names of parameters are self-explanatory. They get thier values from ConnectPanel.

option is not used now.

Note: not all parameters are used for all servers. If you do not see it on your ConnectPanel, it is not used for you.

Throws:
java.lang.Exception

Copyright Acelet Corporation. 2000-2007. All rights reserved.