public class OracleSpatialConnectionFactory extends AbstractUDIGConnectionFactory {
@Override
protected Map<String, Serializable> doCreateConnectionParameters( Object context ) {
if( context instanceof OracleServiceImpl ){
OracleServiceImpl oracle = (OracleServiceImpl) context;
return oracle.getConnectionParams();
}
// we need to check the provided object (probably a URL)
// and ensure it is ment for us
ID id = ID.cast( context );
if( id.toString().indexOf("oracle") != -1){